select_byname_begin#
- variables.select_byname_begin(*args, **kwargs) Any #
Selects variables for future use.
- Args:
- p0:
‘varname’ valid name of a variable
- Examples:
# WARNING: following line includes OBSOLETE call (ensight.variables.select_varname_begin). ensight.variables.select_varname_begin("Area ","Area2 ","variables: select_varname_end ","# ","# Saving the areas to a file ","# ","variables: save_constants /usr/tmp/my_constants","# ","# Activating all variables ","# ","variables: activate_all ","# ","# Computing area of one part ","# ","part: select_begin ","1 ") ensight.variables.evaluate("Area = Area(plist)") # # Computing area of another part # ensight.part.select_begin(2) ensight.variables.evaluate("Area2 = Area(plist)") # # Selecting the computed area constant to write them out #
- Returns:
zero on success, non-zero on error