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
pfcSelect.Selection.Highlight highlights the selection in the current window. This highlight is the same as the one used by
Creo application when selecting an item—it just repaints the wire-frame display in the new color. The highlight is removed if you use the
Repaint command or
pfcWindow.Window.Repaint; it is not removed if you use
pfcWindow.Window.Refresh.
The method
pfcSelect.Selection.UnHighlight removes the highlight.
The method
pfcSelect.Selection.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.
|