Variables#

class ansys.pyensight.core.utils.variables.Variables(ensight: ensight_api.ensight | ensight)#

Controls the variables in the current EnSight Session instance.

Methods

Variables.compute_forces([pobj_list, ...])

Compute the force values for the current model.

Variables.get_const_val(cname[, part_list, ...])

Return a float value of a variable Case constant at the current timestep, or return a list of values one for each part if a per part constant.

Variables.get_const_var_names([v_type])

Get the names of all constant OR per part constant variables

Variables.get_const_vars([var_type])

Get all constant OR per part constant variables

Attributes