Part Events
The SurfaceBodyChanged event notifies the client after the surface or solid geometry of a part has changed geometrically. If a part contains multiple surface bodies (solids and/or work surfaces), the event fires if any of them changes. The event is also triggered when the change is the result of an undo operation. Only _Post is available.
EventNames:
SurfaceBodyChanged_Post
Remarks:
If there are multiple surface bodies within a part, this notification is sent if any of them change.
Examples:
SurfaceBodyChanged_Post:
Register-InventorEvent -EventName SurfaceBodyChanged_Post -Action 'PostSurfaceBodyChanged'
function PostSurfaceBodyChanged() {
#Write event code here
}