Creates an instance of one of the subclasses of Topo. The entity must already exists in the geometry. You should not create new topo components using this constructor. Topology will be created for you when you create geometric objects, such as polylines and polymeshes.
The path of the entity. This path must already exist in the geometry.
The Topo object.
Add this topo to a group.
The group.
True if the topo was added, False is the topo was already in the group.
Check if this entity exists in the model. (i.e has it been deleted?)
The entity ID number.
Get an attribute value for this topo component.
The topo attribute.
The attribute value.
Get the attributes for this topo component.
The array of attribute names.
Get the Geom object
The Model object
Get the geometry type for this topo component. This method mst be overridden by the sub-classes.
The geometry type.
Get the groups for which this topo component is a member.
The array of groups.
Get the label of this topo.
The xyz of the centroid.
Get the label centroid of this topo. This is calculated as the average of the point positions for all points in the topo.
The xyz of the centroid.
Get the model to which this group belongs.
The model
Get the ID of the object to which this topo component belongs.
The object ID number.
Get the ID of the object to which this topo component belongs.
The object ID number.
Get the geometry path for this topo component.
The geometry path.
Get a compact string representation of the geometry path for this topo component.
The geometry path str.
Set an attribute value for this topo component.
The topo attribute.
The new attribute value.
The old attribute value.
Generated using TypeDoc
Topo class. An abstrcat class that is the superclass for all topo components: vertices, edges, wires, and faces.