makescalnode#
- ens_calculator.makescalnode(source_parts: List[ENS_PART] | List[int] | List[str], constant: ENS_VAR | str | int | float, output_varname: str | None = None) ENS_VAR #
Computes a scalar per node variable defined as a specified value or constant variable
- Args:
- source_parts:
Any part(s) or a part number.
- constant:
A constant variable or a value to assign scalar per node.
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See MakeScalNode() for function details.