Part Events
The OnSurfaceBodyChanged event notifies the client when the surface and solid geometry of a part geometrically changes.
Remarks:
If there are multiple surface bodies within a part, this notification is sent if any of them change.
EventNames:
SurfaceBodyChanged_Post
Examples:
SurfaceBodyChanged_Post:
Register-InventorEvent -EventName SurfaceBodyChanged_Post -Action 'PostSurfaceBodyChanged'
function PostSurfaceBodyChanged() {
#Write event code here
}