User's Guide > Selection > Accessing Selection Data > Controlling Selection Display
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 IpfcSelection.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 IpfcWindow.Repaint(); it is not removed if you use IpfcWindow.Refresh().
The method IpfcSelection.UnHighlight() removes the highlight.
The method IpfcSelection.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.
Was this helpful?