linevectors#

ens_calculator.linevectors(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, output_varname: str | None = None) ENS_VAR#

Computes a nodal vector variable defined as the vector from the first to the last node of each 1d element of the part(s). Variable is undefined for non 1d elements

Args:
source_parts:

Any 1D part(s) or a part number.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See LineVectors() for function details.