CST_beginner
Newbie level 3
I'm having trouble saving a model programmatically that was built using a strucure macro. For example, I'll build the geometry in the macro, define the ports and materials in the macro, then issue the "save" or "saveas" commands in the macro and a file appears when I run it but when I open the file, it only has the geometry and a few other parts. The ports, field monitors and other components are missing. When I save the model that was built with the macro using the button in the GUI, it saves fine. When I save it using the command at the end of the macro, it doesn't save right.
Has anyone figured out a workaround? I'm trying to run CST in batch mode and build, run, and save the model and export results all using a macro.
Thank you in advance.
Has anyone figured out a workaround? I'm trying to run CST in batch mode and build, run, and save the model and export results all using a macro.
Thank you in advance.