Execution of a Geometry Macro
- Last UpdatedDec 04, 2023
- 1 minute read
The geometry macro can be executed either from Drafting or as a stand alone program. The following is valid for both cases.
The first time the macro is to be run, the file name must be given, including the file type. It is assumed that the geometry macro is stored on the directory given by the logical variable SBB_GEO_MACRO_SRC. The interpreter will then check the syntax of the macro in the source file (the macro is "compiled").
The result of the interpretation is given in a list file containing a list of the syntax together with possible error messages. The name of the list file is <source_file>.LST and the list file will be created on the directory given by the logical variable SBB_GEO_MACRO_LST.
If the interpretation was successful, a "compiled" version of the syntax will be stored on a directory given by the logical variable SBB_GEO_MACRO_BIN. The name of the "compiled" version of the syntax is <source_file>.GLB. At the subsequent executions of the geometry macro, it is sufficient to give the macro name and the "compiled" version will be read, after which execution will start.