save_geometric_entities#

savegeom.save_geometric_entities(p0: str) int#

Specify the file name path and prefix for the selected part and active variable data to be exported.

The exported files will be saved in the current working directory of the server if no path is provided.
If the format (as defined by savegeom: format) is VRML, the filename given will be used directly. If the format is CASE, the multiple files (case, geometry, and variables) are written using the supplied name as the prefix.
Args:
p0:

‘filename_prefix’ directory path and filename prefix to be used for the exported data file

Examples:
ensight.part.select_all()
ensight.savegeom.format("case")
ensight.savegeom.binary("ON")
ensight.savegeom.single_file("OFF")
ensight.savegeom.select_all_steps()
ensight.savegeom.save_geometric_entities("/tmp/file_prefix")
ensight.part.select_begin(1)
ensight.savegeom.format("case")
ensight.savegeom.binary("ON")
ensight.savegeom.single_file("OFF")
ensight.savegeom.select_all_steps()
ensight.savegeom.save_geometric_entities("/tmp/file_prefix")
Returns:

zero on success, non-zero on error