save_scenario_fileslct#

file.save_scenario_fileslct(p0: str) int#

Save a scenario file using selected parts only.

A scenario can be restored in EnLiten.
A scenario file contains information to completely restore the current visuals in EnLiten.
A scenario project contains additional information.
Args:
p0:

‘filename’ name of the file to use for the scenario information

Examples:
ensight.sendmesgoptions(version="8.23")
ensight.part.select_all()
ensight.file.scenario_format("enliten2")
Returns:

zero on success, non-zero on error