GetLocationCurve

LocationCurve? GetLocationCurve(this Element element)

Retrieves the location curve (path) of an element if available.

Parameters

  • elementElement

    The element to inspect.

Returns: A LocationCurve, or null if the element has no curve location.

Example

LocationCurve? lc = element.GetLocationCurve();
Curve? c = lc?.Curve;