Element.GetGeometryObjectFromReference
Description:
Retrieve one geometric primitive contained in the element given a reference.
Retrieve one geometric primitive contained in the element given a reference.
Remarks:
It will return the last geometric object in the path. .a null reference (Nothing in Visual Basic) will be returned if related geometric object could not be found in the model.
It will return the last geometric object in the path. .a null reference (Nothing in Visual Basic) will be returned if related geometric object could not be found in the model.
public GeometryObject GetGeometryObjectFromReference(
Reference reference
)
-
referenceThe geometric object referenced by this instance will be retrieved from the model.
-
The id of this element is not same as that referenced by reference
-
A non-optional argument was null
-
The element id held by the input reference is not same as the id of this element. The geometric information could not be taken for this element.