A selection object is commonly generated as a result of selecting any Pro/ENGINEER object. The selection object contains not only the information of the object selected, but also other useful pieces of information, such as the location of this Pro/ENGINEER object in the assembly hierarchy, the coordinates of the selection, and so on.
Public Member Functions | |
| HRESULT | AddAnnotationElement ([in, defaultvalue(0)] VARIANT_BOOL in_allow_fix_ui,[out, retval] IAnnotationElement **out_retval) |
| Adds a new general annotation element to the annotation feature. | |
| HRESULT | CreateAnnotationFeature ([in, defaultvalue(0)] VARIANT_BOOL in_use_ui,[out, retval] IAnnotationFeature **out_retval) |
| Creates a new annotation feature in the model. | |
| HRESULT | DeleteAnnotationElement ([in, defaultvalue(0)] VARIANT_BOOL in_allow_fix_ui) |
| Removes an annotation element from an annotation feature or data sharing feature. | |
| HRESULT | Highlight ([in, defaultvalue(ctEdgeHighlight)] enum EColorType in_color_type) |
Highlights the model item referenced by this selection. | |
| HRESULT | UnHighlight () |
Un-highlights the model item referenced by this selection. | |
Properties | |
| IModel | Model [get] |
Model to which this selection belongs. | |
| IModelItem | ModelItem [get] |
Model item referenced by this selection. | |
1.5.1-p1