The OnNewEditObject event notifies a client when the edit object is changing.
Name | Type | Description |
EditObject | Object | The new edit object. When the BeforeOrAfter argument is kBefore this is the object that will become the edit object. When the argument is kAfter this is the current edit object. |
BeforeOrAfter | EventTimingEnum | Input indicating if the event is being fired before (kBefore) or after (kAfter) there is a new edit object. Notification is sent before and after the edit object change is made. |
Context | NameValueMap | Input object that can be used to determine the context of why the event fired. When an object is activated for edit within the context of an assembly some additional information is provided through the Context argument, as described below: Name = "ActiveDocument", Value = The AssemblyDocument object that the edit is within the context of. Name = "ActiveEditObject", Value = The ComponentOccurrence object in the assembly the edit is through. |
HandlingCode | HandlingCodeEnum | Output that indicates how you are handling the event. This argument is ignored for this event. |