partnumber#

ens_calculator.partnumber(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, result_type: str = 'Compute_Per_case', output_varname: str | None = None) ENS_VAR#

Computes a part or case constant variable defined as the part id number. Sometimes useful for viewing decomposed data.

Args:
source_parts:

Any part(s) or a part #.

result_type:

Per/Case or Per/Part Results

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See PartNumber() for function details.