cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Do we get CAD close event when user closes CREO?

swapnali
5-Regular Member

Do we get CAD close event when user closes CREO?

CAD close event is required.

5 REPLIES 5

You can set the callback method using ProNotificationSet()

swapnali
5-Regular Member
(To:syalagudri)

I couldn't find any pre or post notification for CAD close event in Pro Toolkit which can be used with ProNotificationSet. 

Is ProMdlErasePreAction helps. I could see no close event. or you can use save the event.

There is not point in getting a close event when the model is closed. that's why PTC might not expose this event.

swapnali
5-Regular Member
(To:syalagudri)

I understand currently there is no such event available. I am interested in a particular case when the user closes the CAD while model is still open.

RPN
14-Alexandrite
14-Alexandrite
(To:syalagudri)

user_terminate should help. As far I remember no event is fired, but if you want to distinguish between unload und exit you must prepare your xxxtk.dat.

 

I would assume that this functions will not allow to overwrite PTCs ones

 

ProCmdCmdIdFind()
ProCmdAccessFuncAdd()
ProCmdAccessFuncRemove()

 ProCmdBracketFuncAdd()

 

 

Announcements