DisplayModeChange
The DisplayModeChange event notifies the client when the display mode of a view changes (wireframe, shaded with hidden edges or shaded without hidden edges). _Pre fires before and _Post after the display mode is changed.
EventNames:
DisplayModeChange_Pre
DisplayModeChange_Post
Examples:
DisplayModeChange_Pre:
Register-InventorEvent -EventName DisplayModeChange_Pre -Action 'PreDisplayModeChange'
function PreDisplayModeChange() {
#Write event code here
}
DisplayModeChange_Post:
Register-InventorEvent -EventName DisplayModeChange_Post -Action 'PostDisplayModeChange'
function PostDisplayModeChange() {
#Write event code here
}