AnsweredAssumed Answered

Assembly Custom Property Macro

Question asked by Ricardo Quintanilla on Oct 12, 2015
Latest reply on Oct 13, 2015 by Ricardo Quintanilla

I am trying to change the custom properties of assemblies and parts. Specifically, I'm doing a search and replace through the descriptions. I was able to make a VBA macro easily for *.sldprt files using the thread below, but I'm not sure what to change to get this to work on *.sldasm files. I assume I need to somehow get a CustomPropertyManager from a SldWorks.AssemblyDoc object. I've gotten as far as opening the assembly file and searching through the SldWorks.AssemblyDoc functions.


Part File custom property changer:

Drawing Custom Property Macro


I am new to SolidWorks macros and am not sure what functions to call.