resource#
- data.resource(p0: str) int #
Sets the resource file name that will be passed to the EnSigtht SOS for reading and processing.
- Args:
- p0:
‘pathname’ resource file name.
- Examples:
ensight.data.binary_files_are("big_endian") ensight.data.format("case") ensight.data.shift_time(1.000000,0.000000,0.000000) ensight.data.resource("/usr/tmp/localhost.res") ensight.data.sos_pass_wildcards("YES") ensight.data.sos_auto_distrib("dont") ensight.data.replace("/usr/local/CEI/ensight92/data/ami/ami.case")
- Returns:
zero on success, non-zero on error