Updating Custom Properties in PDM
Updating Custom Properties in PDM
(OP)
Hey folks,
I would like to update (and add) some custom properties for all my files in the vault, by means of the Task Scheduler. The snag I see is, what directory do I specify for the Task Scheduler? Do I select the directory where the valut resides (even though the contents don't have the correct extensions)? and will this update all revisions of the parts?
thanks in advance,
I would like to update (and add) some custom properties for all my files in the vault, by means of the Task Scheduler. The snag I see is, what directory do I specify for the Task Scheduler? Do I select the directory where the valut resides (even though the contents don't have the correct extensions)? and will this update all revisions of the parts?
thanks in advance,
phreaq
Has anyone seen my brain today? (^_^)
www.phreaq.net






RE: Updating Custom Properties in PDM
I think what you may be looking for is found in the PDMWorks Admin. However adding a custom property will not bump the revision of each document in the vault. See the quote below for further description.
Best Regards,
Jon
Challenges are what makes life interesting; overcoming them is what makes life meaningful.
http://solidworks.carbonmade.com/
Solidworks 2006 SP4.0
RE: Updating Custom Properties in PDM
Seems I'm almost there..... almost. Your method will add a property to a SW file, but it doesn't seem to actually assign a value to the property.
Without getting into my specific details, I want to add a property called "type" with a value of "1" for assemblies, and "2" for parts (as an example).
phreaq
Has anyone seen my brain today? (^_^)
www.phreaq.net
RE: Updating Custom Properties in PDM
RE: Updating Custom Properties in PDM
you're right, I can (and will) add these properties to my templates, but that doesn't help the 1000s of parts and assemblies I already have in the vault that need the property added with the values.
phreaq
Has anyone seen my brain today? (^_^)
www.phreaq.net
RE: Updating Custom Properties in PDM
You may want to check out this macro I found. It should help you in applying the correct properties to the files. You will however have to have the files in your local working directory before using it. This means you will have to check out the 1000+ files from PDMWorks. If anyone else has a better solution please re-post.
Find it here: Rhapsody Design Solutions
Download the "Batch Parameter Creator" macro.
Best Regards,
Jon
Challenges are what makes life interesting; overcoming them is what makes life meaningful.
http://solidworks.carbonmade.com/
Solidworks 2006 SP4.0