![]() | DocumentHandler Class |
Namespace: CodeStack.SwEx.AddIn.Core
The DocumentHandler type exposes the following members.
Name | Description | |
---|---|---|
![]() | DocumentHandler | Initializes a new instance of the DocumentHandler class |
Name | Description | |
---|---|---|
![]() | App |
Pointer to the SOLIDWORKS application
|
![]() | Model |
Pointer to the model of this handler
|
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the DocumentHandler |
![]() | OnActivate |
Override to handle the activation of the document (when it is opened in its own window)
|
![]() | OnDestroy |
Override to dispose the resources
|
![]() | OnInit |
Override to handle the initialization of the document
|
Name | Description | |
---|---|---|
![]() | Access3rdPartyData |
Raised when 3rd party storage and stream are ready for access (reading or writing)
|
![]() | Activated |
Raised when model window is activated
|
![]() | ConfigurationChange |
Raised when configuration is changed in part or assembly or sheet is activated in the drawing
|
![]() | CustomPropertyModify |
Raised when custom properties modified (added, removed or changed) from the UI or API
|
![]() | Destroyed |
Raised when document is closed
|
![]() | DimensionChange |
Raised when dimension value is changed in the model
|
![]() | Initialized |
Raised when document is initialized
|
![]() | ItemModify |
Raised when item (e.g. feature, configuration) is modified in the Feature Manager Tree (e.g. renamed, added or removed)
|
![]() | Rebuild |
Raised when model is regenerated either as force regeneration or parametric regeneration or after rollback
|
![]() | Save |
Raised when document is saving or saved (including auto saving)
|
![]() | Selection |
Raised when object is selected in SOLIDWORKS (either by the user or API)
|