Fired whenever the state of a component within this assembly changes.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DAssemblyDocEvents_ComponentStateChangeNotify2EventHandler( _
ByVal componentModel As Object, _
ByVal CompName As String, _
ByVal oldCompState As Short, _
ByVal newCompState As Short _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As New DAssemblyDocEvents_ComponentStateChangeNotify2EventHandler(AddressOf HandlerMethod)
|
Parameters
- componentModel
- Component model
- CompName
- Name of the component
- oldCompState
Previous state of the component:
-
swComponentSuppressionState_e::swComponentSuppressed - Fully suppressed - recursively suppresses the component and any child components
-
swComponentSuppressionState_e::swComponentLightweight - Lightweight - makes only the component lightweight
-
swComponentSuppressionState_e::swComponentFullyResolved - Fully resolved - recursively resolves the component and any child components
- newCompState
New state of the component:
-
swComponentSuppressionState_e::swComponentSuppressed - Fully suppressed - recursively suppresses the component and any child components
-
swComponentSuppressionState_e::swComponentLightweight - Lightweight - makes only the component lightweight
-
swComponentSuppressionState_e::swComponentFullyResolved - Fully resolved - recursively resolves the component and any child components
Remarks
Availability
SolidWorks 2001Plus SP1, Revision Number 10.1