Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > CadModel Object : UnHighlightElement Method
Required case-sensitive String that indicates the CAD element from which to remove highlighting.
Boolean value that indicates whether or not all CAD elements of that have Name should be deselected. If set to TRUE then all elements with Name are deselected. If set to FALSE, then only the first item in the list that has Name is deselected.
UnHighlightElement Method
Description

This method removes highlighting from the specified CAD element (or elements) on the CAD model in the Graphics Display window.

Syntax
Visual Basic
Public Function UnHighlightElement( _
   ByVal Name As String, _
   ByVal All As Boolean _
) As Boolean
Parameters
Name
Required case-sensitive String that indicates the CAD element from which to remove highlighting.
All
Boolean value that indicates whether or not all CAD elements of that have Name should be deselected. If set to TRUE then all elements with Name are deselected. If set to FALSE, then only the first item in the list that has Name is deselected.
Return Type
Boolean value. Boolean returns true if the function succeeds in removing the highlight from the specified CAD element, false if it fails.
Remarks

 

See Also