2 Replies Latest reply on Oct 13, 2015 11:44 AM by Ricardo Quintanilla

    Assembly Custom Property Macro

    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.

       

      Thanks,

      Ricardo