I am looking to change the BOM part number in the Configuration properties tab. I found this bunch of code in the API help, but want to change it a little so that it retrieves the Dwg No. value from the custom properties and then adds a "-1" as a suffix. I have found other macros in the rest of the forums, but cannot seem to get them to work. The main issue is with adding a line - Set swCustPrpMgr = swModel.Extension.Custom property manager(""). This gives me an Object variable with block variable not defined error. Any assistance would be great!
SolidworksApi macros