M_Rhino_Geometry_GeometryBase_ComponentIndex - mcneel/rhinocommon-api-docs GitHub Wiki
If this piece of geometry is a component in something larger, like a BrepEdge in a Brep, then this function returns the component index.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public ComponentIndex ComponentIndex()
VB
Public Function ComponentIndex As ComponentIndex
Type: ComponentIndex
This object's component index. If this object is not a sub-piece of a larger geometric entity, then the returned index has m_type = ComponentIndex.InvalidType and m_index = -1.
Supported in: 6.0.16224.21491, 5D58w