Edit the author of this thread deleted his/her question so I became the author of it
As the title, the question was asked how to delete/add Custom Properties using a macro
Aj,
it's straight forward
As Wesley suggested, you can use a while or do loop thru your custom properties list
Depend SW rev on you computer:
Add: use cpm.addx (x is a number depend on SW release on your computer)
Delete: use cpm.delete
Retrieve: use cpm.get
SolidworksApi macros