simulate a button click on a datacard in Solidworks PDM AddIn

168 Views Asked by At

I have a Solidworks PDM AddIn that listens for a button click on a datacard to perform a specific action. I cannot change this AddIn or view the code. Now I want to use a second PDM AddIn, do some actions and then trigger the first AddIn witout clicking the button on the datacard.

I was searching the Solidworks PDM API Documentation for any help about doing a button click on a datacard but cannot find anything. Is this possible? Any ideas how to do this?

1

There are 1 best solutions below

0
Amen Jlili On

PDM Add-ins are stored locally in the client cache and can be retrieved and reversed engineering using a tool like dotpeek. Make sure you have the rights to the code before you attempt this...

I don't think you can trigger the OnCmd method of another add-in. Only the PDM client can do that.