Public Member Functions
Public Attributes
Detailed Description
Export Statistics on Structures macross built with the MacroBuilder and export the resulting workflow as a Functional Mockup Unit (FMU), for further use e.g. in Ansys OptiSLang. The MacroExporter is invoked when exporting a macrobased FMU from the graphical user interface. It gathers all inputs and outputs from the macro created with the MacroBuilder passed to the MacroExporter. Script example based on sos_demo.sdb: macro_exporter = sos.MacroExporter(); macro_exporter:exportFMU2(‘/dir/of/your/choice/approx_fmop.fmu’);Member Function Documentation
addInputArg()
addOutputArg()
exportFMU2()
setDllPath()
Member Data Documentation
fmu_author
Is written into modelDescription.xml, which is part of the exported FMU archive.
fmu_model_description
Is written into modelDescription.xml, which is part of the exported FMU archive.
fmu_model_name
Is written into modelDescription.xml, which is part of the exported FMU archive.