G'day Guys,
I constantly see posts about custom properties ect on this forum, and since I use/search this forum oftern, I thought I would try & give some thing back.
I like OO programing & thus have created some classes to help me with Custom properties & configurations.
I have attatched two files.
File extention adds a couple of simpler features as a class ModelDoc_Extension (do not confuse with IModelDocExtension)
Currently this class has two sections which allows you to easily view Configurations, delete & add them The other Properties, which hich allows you to easily view the properties, delete & add. It also has a funtion that transfer generic custom props when adding them into real props eg "SW-Mass@@config@File" into "SW-Mass@@FAF87@TestFile.SLDPRT"
The second file Migration allows you to add, remove & transfer properties on a file, This will do it for all configs properties & document properties.
Note, When adding a custom properties, it deletes the old one first.
Note, Document properties has the configuration name ""
I have also included a VSTA vb solution.
Please let me know if this helps & I will post a revisions of the libary code.
Regards
Seth
SolidworksApi macros