SaveAsReviseObserver Class¶
-
class
NXOpen.PDM.
SaveAsReviseObserver
¶ Bases:
object
This class is responsible for invoking registered callback when objects goes for SaveAs and Revise and after the process.
To obtain an instance of this class, refer to
NXOpen.PDM.PdmSession
New in version NX11.0.0.
Methods¶
Method | Description |
---|---|
AddPostcopyoperationCallback | Registers a user defined postcopyoperation callback that is called just before SaveAs and Revise process |
AddPrecopyoperationCallback | Registers a user defined precopyoperation callback that is called just before SaveAs and Revise process |
RemovePostcopyoperationCallback | Deregister the user defined postcopyoperation callback |
RemovePrecopyoperationCallback | Deregister the user defined precopyoperation callback |
Method Detail¶
AddPostcopyoperationCallback¶
-
SaveAsReviseObserver.
AddPostcopyoperationCallback
¶ Registers a user defined postcopyoperation callback that is called just before SaveAs and Revise process
Signature
AddPostcopyoperationCallback(postcopyoperationCb)
Parameters: postcopyoperationCb (CallableObject) – method to register Returns: identifier of registered method (used to deregister the method) Return type: int New in version NX11.0.0.
License requirements: None.
AddPrecopyoperationCallback¶
-
SaveAsReviseObserver.
AddPrecopyoperationCallback
¶ Registers a user defined precopyoperation callback that is called just before SaveAs and Revise process
Signature
AddPrecopyoperationCallback(precopyoperationCb)
Parameters: precopyoperationCb (CallableObject) – method to register Returns: identifier of registered method (used to deregister the method) Return type: int New in version NX11.0.0.
License requirements: None.