AppInterface.test_scen_attach_dir
AppInterface.test_scen_attach_dir |
Purpose
Property for the path to use for the scenario attachments directory of the current scenario.
Synopsis
test_scen_attach_dir: str
Return value
The path to the scenario attachments directory.
Example
Demonstration of setting scenario attachment directory (test mode only).
>>> insight.test_scen_attach_dir = 'C:/dev/scenattachments'
Demonstration of getting scenario attachment directory (test mode only).
>>> print(insight.test_scen_attach_dir)
Further information
1. When you set a path using this function, it will be used instead of the
scenattach subdirectory of the directory specified by
insight.test_attach_dir property.
2. Setting this property when
insight.test_mode is
False will cause the model to abort with a runtime error.
Related topics