Is there a way to extract the custom porperties out of a SW file using VBA?
Similar to what the Explorer can do when right-clicking a SW file, 3rd tab.
Thank you
Marcel Büchi
I believe this is also documented in the API help and on the SW API
support pages.
I was looking for a way to get the custom properties without having to use
SW.
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)
Marcel
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
demand!
Regards,
Vinodh Kumar M.
www.swCP3.com
"GreenHex" <Gree...@gmail.com> schrieb im Newsbeitrag
news:1118770448.3...@o13g2000cwo.googlegroups.com...
Is there a way to get SWIT to look at the Custom Tab?
No, it's using only conf.specific stuff. Custom tab is for losers that
don't know how to use configurations ;-)
--
regards
Markku
Im sure our company can use configurations on some of our parts, but
the majority would never need them.
Is there a way to get SWIT to look at that other tab?
<agnald...@gmail.com> schrieb im Newsbeitrag
news:1118833023.7...@g44g2000cwa.googlegroups.com...
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
know...:-)
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
config side...)
>
> Is there a way to get SWIT to look at that other tab?
>
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
version).
--
regards
Markku
Corey
Google, my man, google...:-)
http://www.trimech.com/solutions/techsprt-free-utilities.htm
Markku
> "I don't have any plans for that...there is a free tool for that
> already
> (it's not using configurations at all thought). "
>
--
regards
Markku
With regards,
Vinodh Kumar M.
www.swCP3.com