AnsweredAssumed Answered

Addin Event Handling FileSaveAsNotify2 to add Comment

Question asked by Joe Pickens on Mar 7, 2017
Latest reply on Mar 9, 2017 by Joe Pickens

I am creating a Solidworks AddIn and one of the things I'm trying to do is, I want to catch when someone does a save as to a component. I want to wright in the comments part of the property manager the name of the file the document was saved from. I result when someone does a save as to a component. In the comments of the new part it will state Component (serial#) made from Component (serial#).

 

I have captured the save as event using FileSaveAsNotify2 but how do I get a hold of the new component name and how do i wright to the comments in the new component?

Outcomes