Breaking the link to a custom Toolbox Library part
I wanted to create a custom part from the Toolbox Library. Specifically, a Structural Member (W Section). Which is in an assembly.
I created the custom part, thinking it would be separate from the original toolbox Structural Member. I saved the assembly and the custom part. Since it was originally a read-only part, I needed to rename it. I renamed it, W14x426x60 TEST.
Notice the new part has the toolbox icon symbol. We don’t want that. We want the link to be broken from the Toolbox Library.
Let me take you through the steps to break the link.
Open a File Explorer and navigate to C:/Program Files/SOLIDWORKS Corp/SOLIDWORKS/Toolbox/Data utilities.
Double click sldsetdocprop. This dialog box will open. At this point, you can select either a single file or an entire directory.
Click Add Files… and navigate to the file location for W14x426x60 TEST. Mine was saved in C:solidworks datacopiedparts. Double click the file.
Notice the “Property state: Yes” radial button is selected. Select the file from the Filenames selection box. Click Show Selected Property.
The sldsetdocprop dialog box pops up. This lets us know the state of the file. It is the property of the Toolbox. It is linked to the Toolbox.
Click OK.
This is where we can break the link to the Toolbox.
Click “Property state: No” radial button and click the Update Status button.
If you get this message. This means either the part or the assembly is open. Make sure the files are closed.
Let’s try again and click Show Selected Property.
The status = No. Open the assembly and notice the Toolbox icon is gone and is no longer linked.
There you have it. I hope you found this helpful.
Have a great day.
Roger Ruffin
Sr. Application Engineer
Computer Aided Technology, LLC