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 DPartDocEvents_DynamicHighlightNotifyEventHandler( _
ByVal bHighlightState As Boolean _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As New DPartDocEvents_DynamicHighlightNotifyEventHandler(AddressOf HandlerMethod)
|
C# | |
---|
public delegate int DPartDocEvents_DynamicHighlightNotifyEventHandler(
bool bHighlightState
) |
C++/CLI | |
---|
public delegate int DPartDocEvents_DynamicHighlightNotifyEventHandler(
& bool bHighlightState
) |
Parameters
- bHighlightState
True if highlighting is on, false if it is off
Example
Private Function part_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