dist2nodes#

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

Computes a constant variable defined as the Euclidean distance between the two node IDs specified

Args:
source_parts:

Any part(s) or a part number.

number:

Enter second node number.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See Dist2Nodes() for function details.