format#

savegeom.format(p0: str) int#

Specify the export data file format for the selected part(s) and active variable(s).

The option is the format of an included internal format usch as case or vrml, or a user-defined format that can be site specific.
Args:
p0:

‘option’

  • Include one of the following:

  • brick

  • case

  • vrml

  • UDWName

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")
Returns:

zero on success, non-zero on error