I was looking for a way to get the custom properties without having to use
I can extract properties from files when loaded into SW by using MS Access
and and VBA to store the information in a table.
But that's not what I want.
I'd like to process somewheres around 20000 SW files and saving the custom
props in an Access table.
Similar to the VBA Function GetAttr(Path of file)
I'd be nice to have a function like: GetCustomProperties(Path of file)
The problem is that there are configuration specific and document
custom properties. The former requires SW and the later can be done
without opening SW. There have been detailed discussions on this group
regarding this subject. You might do a search.
DSOFILE... (google that one!)
That would enable one to quickly view/ extract Document
Custom Properties without opening the SW document in
SolidWorks, but not Configuration Specific Custom
Properties which is the one that is very much in
Vinodh Kumar M.
I downloaded SWIT, and couldnt figure out why it wont show my existing
custom propertys. I put my custom properties in the "Custom" tab, not
the "Configuration Specific" tab. We dont use configurations very much
here, if any, but are their any advantages to using the "Configuration
Specific" tab just for the Default config?
Is there a way to get SWIT to look at the Custom Tab?
You can still save the information by using configuration specific
data...at the end there is no difference; you create drawing and BOM, data
is read from the model...There is always that "Default" configuration you
I think it's better to handle it this way because you don't usually know
if there is going to be configs or not in the future...and if that happens
you don't have to play with the properties (move them from custom side to
I don't have any plans for that...there is a free tool for that already
(it's not using configurations at all thought). There are also tools to
move the props from custom side to config side I guess.
But...I understood that your problem is existing models, so I feel your
pain. Maybe SWit 3 will have this option (if there ever will be next
All you have to do is pass an empty string to
ModelDoc2.GetCustomProperty("","Property Name) this will get non
config specific properties. Or you can use the DSOLE file .exe as
mentioned above it can only get non config specific properties.
Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here.
All logos and trade names are the property of their respective owners.