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:
I am new to SolidWorks macros and am not sure what functions to call.
Thanks,
Ricardo
SolidworksApi macros