NewDesignView
The NewDesignView event notifies the client whenever a design view representation is created. _Pre fires before and _Post after the representation is created.
EventNames:
NewDesignView_Pre
NewDesignView_Post
Parameters
Type |
Name |
Description |
|---|---|---|
document |
Document object that indicates the document in which the change occurred. |
Examples:
NewDesignView_Pre:
Register-InventorEvent -EventName NewDesignView_Pre -Action 'PreNewDesignView'
function PreNewDesignView($document) {
#Write event code here
}
NewDesignView_Post:
Register-InventorEvent -EventName NewDesignView_Post -Action 'PostNewDesignView'
function PostNewDesignView($document) {
#Write event code here
}