Cancel
Showing results for 
Search instead for 
Did you mean: 

Call a method when closing the model

Valued Contributor
Valued Contributor

Hi All,

 

I want to call a method before closing the model. Is there a way to do so?

Something like opposite of 'autoexec' in class library.

 

 

Thanks,

Gokul

4 REPLIES 4

Re: Call a method when closing the model

Siemens Phenom Siemens Phenom
Siemens Phenom

Search for OnCloseModel in the online help.

_________________________________________________________________
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.
Highlighted

Re: Call a method when closing the model

Valued Contributor
Valued Contributor

Hi MichaelJoos ,

 

Thanks for the help. It works as required.

 

Thanks,

Gokul

Re: Call a method when closing the model

Experimenter
Experimenter
I too looked up OnCloseModel online, but couldn't solve my problem. Maybe I'm doing something else wrong.

Re: Call a method when closing the model

Phenom
Phenom
Could you detail your problem