Further Automation Techniques For Older HiCAD Versions

Within the Macro Interface, the new FUNC object NetApp had been defined, enabling you to execute an API script directly out of a macro. For this purpose, you can use, within the NetApp object , the functions StartScriptFile, StartAssembly, StartScriptDialog and StartScript. The first two methods start the transferred C# file, respectively.dll file, the third function corresponds to the key combination CTRL+J. The last function directly contains the code to be executed as a string.

Via the key combination CTRL+J a selection dialogue is opened, enabling you to choose an API script for execution. After selection and confirmation with OK, the script is loaded and executed.

APIMacro and Variant Technique (Macro)FUNC-Objects (FUNC)