Controlling Selection Display
Methods Introduced:
These methods cause a specific selection to be highlighted or dimmed on the screen using the color specified as an argument.
The method
pfcSelection.Highlight() highlights the selection in the current window. This highlight is the same as the one used by
Creo Parametric when selecting an item—it just repaints the wire-frame display in the new color. The highlight is removed if you use the
View,
Repaint command or
pfcWindow.Repaint(); it is not removed if you use
pfcWindow.Refresh().
The method
pfcSelection.UnHighlight() removes the highlight.
The method
pfcSelection.Display() causes a selected object to be displayed on the screen, even if it is suppressed or hidden.
|
|
This is a one-time action and the next repaint will erase this display.
|