Posts Tagged ‘Utilities’

EPDM users across the world love sldsetdocprop

Friday, June 15th, 2012

A few years ago Bill mentioned how you could use “sldsetdocprop” to take a Toolbox part and make it behave like a normal part. However you can use this tool to do the exact opposite – take a normal part and make it a Toolbox part.

SolidWorks Enterprise PDM users all across the land think this is cool -here is why:

Checkout this screen shot from EPDM’s “Copy Tree” command:

HomeMadeToolbox

See the part cleverly named: “I want this part to work like a toolbox part.sldprt”? This part is just a simple part like all of the others except I changed it into a Toolbox part with the sldsetdocprop command. Now, by default “Copy Tree” does not try to copy this file! I don’t have to dig through my copy list trying to figure out which are my standard/toolbox parts that I don’t want to copy, Copy Tree does this for me now!

Sldsetdocprop can work on an entire directory, so if you have a directory of commercial parts, it may be worth your while to change all the parts in that directory to become a “toolbox” part.

Jeff Sweeney

CSWE Engineering Data Specialist 3DVision Technologies

Is it a Part… or a Toolbox Part?

Wednesday, August 10th, 2011

I was recently talking with one of our customer’s that designs fixtures and related equipment.  Fortunately, this customer is using SolidWorks Professional and has SolidWorks Toolbox for fasteners and hardware to make his life easier!  His dilemma was he no longer wanted to have the Toolbox components of his assembly identified as Toolbox components.  He wanted a group of fasteners that originated as Toolbox parts to be treated as normal parts.

What I found interesting is that a Toolbox part is identified by an internal flag in the file that makes it just that – a Toolbox part.  Even better is that the flag can be turned off!  This is accomplished by using a utility called ‘Set Document Property’.  You can find this tool in your SolidWorks installation folder under the “\Toolbox\data utilities” subfolder – named “sldsetdocprop.exe”.  Browse to this folder location, double-click on the file to run it. Once the ‘Set Document Property’ utility is running, the process is simple.

1.  The Toolbox file(s) should be saved in a location outside of the Toolbox folder on your hard drive. Then close your assembly and related SolidWorks part files. This is to allow the utility write access to the file(s).
2.  Click on the ‘Add Files…’ button and browse to the location of the Toolbox part(s).
3.  Change the ‘Property State: Yes’ radio button to ‘Property state: No’.
4.  Click on ‘Update Status’.
5.  Click ‘Close’.

Now when you re-open the assembly, your Toolbox icon in the Assembly Feature Tree has changed to a normal part icon.  Also, after a bit more research, I discovered that turning off this flag is one method of allowing a PDM system, like WorkGroup PDM, to check in your part into the vault when the WPDM options are set to not check in Toolbox parts.
2011-0808 Set Document Property

Bill Reuss

Elite Application Engineer CAE Technical Specialist 3DVision Technologies

Follow
Get every new post delivered to your inbox
Join other followers
Powered By WPFruits.com
Bear