The code example later in this section shows how to highlight a subentity. The following procedure lists the basic steps.
To highlight a subentity
- Obtain the GS marker for the selected entity from the selection set.
- Pass the GS marker to the entity class to be converted to a subentity path using the getSubentPathsAtGsMarker() function. Specify the type of subentity you're interested in (vertex, edge, face).
- Once you have the path to the selected subentity, you're ready to call the highlight() function, passing in the correct subentity path.