Reply

Extend Open Part functionality

[ Edited ]

I want to extend functionality of open part operation. Whenever user double clicks any Solid Edge part or open it using File->Open option, I want to display custom message and do some operations like checking no. of characters of part no. Please let me know, how to develop this program and implement it for all users. I am using ST4.

 

Posted by: Mandar
Post date: 7/25/2012 10:57:46 PM

1 REPLY

Re: Extend Open Part functionality

[ Edited ]

You could connect to the application events set and respond to DocumentOpen. You should get the event whether opening from file open or double clicking. However you will get the event when an assembly opens a part. Since asm opens parts without activating the UI, you might find the ActiveDocumentChange event more to your liking.

 

There is also a FileUIEvents set on the app object. You can implement your own file open dialog if need be. But double clicking is not involved with file open UI.

 

Posted by: R.D. Holland
Post date: 7/26/2012 10:02:25 AM