Import/Export via Macros
You can accelerate the conversion of files using appropriate macros. To do this you require the Design Automation module.
The command sequence for the macro run is created in the text menu mode. This mode is activated automatically for macro creation and processing. Here, function selection is made with the help of a special text menu offering the same options as the normal HiCAD menu.
When you call the Create macro function, HiCAD activates the text mode and the main menu appears on the screen, thus enabling you to access all other HiCAD functions.
The paragraph below describes the creation of macros used to read STEP files:

Example: Read STEP
- Activate the Create macro function using the key combination CTRL+7.
- Specify a name for the macro, e.g. "Read_STEP".
- Take over the entry with Open. The main menu opens.
- Click 3-D Drawing.
- Click S1 = Interfaces.
- Click STEP E/A.
- Click Read.
- Click Yes to select the path and the file in the Windows box. The standard dialogue windowFind file name opens. Specify a STEP file and click Open.
- The dialogue window Read STEP appears.
- Select the required settings and click OK.
- Select the appropriate option. The query "Load default setting?" is displayed.
- Select the required option.
- Click OK in the window that appears on your screen.
- The main menu is displayed again.
- Select End of Macro to end the Read_STEP macro.
Use the key shortcut CTRL+8 to call the macro and open the corresponding macro file.
When you write macros intended to output STEP/MTA and IGES/CATIA files, the macro variable STYP needs to be set, otherwise macro instructions will not be correctly carried out.
- STEP %STYP:= 1
- MTA %STYP:= 2
- IGES %STYP:= 1
- CATIA %STYP:= 2