PC-DMIS 2021.2 Object Library
UnHighlightElement Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
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.
PCDLRN ActiveX DLL > CadModel Object : UnHighlightElement Method

Glossary Item Box

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

Copyright © 2021. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.