Using SW 2015 SP1.1
I have been having trouble with some of the new options for Weldments in the document props. I have unsuccessfully tried to turn off the options "Rename cut list folders with Description Property value" and "Automatically update cutlists" with a part template. The two options refuse to stay turned off. However, if I have an existing part and save that with the options unchecked, they do stay off upon reopening the part.
The Renaming option has been interfering with some of my macros, so after failing with the template I tried toggling the option off with:
UPREF = ModelDoc2.Extension.SetUserPreferenceToggle(swWeldmentRenameCutlistDescriptionPropertyValue, swDetailingNoOptionSpecified, False)
which did toggle the button off. Toggling the button manually changes all cutlist folder names to "Cut-List-Item....", however with this line of code the folder names remain unchanged.
Thanks for any insight!
I am having the same issue.
The way it manifested itself was using the description "3" SQ X 1/8" WALL STRUCTURAL STEEL TUBE" (which was carried through from the Library Feature Part ".sldlfp") for the cut list item name. Apparently SW 2015 cannot parse this correctly (probably the ' / ' or the ' " ' characters)so that the "Evaluated Value" is incorrect and reflects the "Value / Text Expression".
I have followed the instructions here 2015 What's New in SolidWorks - Weldment Options at the very bottom is says:
"You can also set the option behavior for future parts by opening the SOLIDWORKS 2015 part template, checking or clearing the options, and saving the template".
This does not work. Any new part created from the template has the "Rename cut list folders with Description property value" enabled, as noted by Ryan above.
For a company that does a lot of weldments this "Improvement" would be welcome if it worked as advertised. Since it doesn't it just creates extra work.
We would feel better served if the default was off.
Does anyone know if there is a registry key go fix this?
Thanks
Jim Lane
PS Thank you Ryan for the tip that toggling the option resets the names to something that SW can parse.