Post-notifies the application when dynamic highlighting of the selected object changes from on to off, and vice versa.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DAssemblyDocEvents_DynamicHighlightNotifyEventHandler( _
ByVal bHighlightState As System.Boolean _
) As System.Integer |
C# | |
---|
public delegate System.int DAssemblyDocEvents_DynamicHighlightNotifyEventHandler(
System.bool bHighlightState
) |
C++/CLI | |
---|
public delegate System.int DAssemblyDocEvents_DynamicHighlightNotifyEventHandler(
& System.bool bHighlightState
) |
Parameters
- bHighlightState
- True if highlighting is on, false if it is off
Example
' VBA
Private Function assy_DynamicHighlightNotify() As Long
Dim one As Object
Dim x As Integer
Dim pt As Variant
Set one = mgr.GetSelectedObject5(-1)
If Not one Is Nothing Then
Debug.Print mgr.GetSelectedObjectType2(-1)
one.Select True
pt = mgr.GetSelectionPoint(-1)
If Not IsEmpty(pt) Then
Debug.Print pt(0), pt(1), pt(2)
Else
Debug.Print "Object selected in FeatureManager design tree, so no points."
End If
Else
Debug.Print "Dynamic highlighting is now off."
End If
Remarks
Availability
SOLIDWORKS 2005 FCS, Revision Number 13.0