Custom Properties Checkbox

I'm trying to set up a function in the custom properties tab that will utilize the checkbox control. The goal is to have the control suppress a certain custom property from a model and show the custom property from its corresponding drawing when the checkbox is checked. And i would like the unchecked control to do the opposite. They both are part descriptions that show up in my title block, and I figured the easiest way to have it set up in the drawing is to have both links in the same piece of text in the block. Is this possible?

SolidworksDrawings And Detailing
Answers 5
JF
JF 2011-12-16 Best Answer

the check box can toggle a custom property between 2 fixed values - one of which could be blank. so it gets you partway there. and you would need a check box in both the drawing and part tabs. and users would need toggle both to change the title block from one description to the other.

SF
SF 2011-12-16

Okay, i can dig that. A follow-up question to that is whether or not the checkbox will actually suppress the attribute in the drawing, or just make the input box invisible?

JF
JF 2011-12-16

if you have a checkbox control the visibilty of another item in the property tab - it only controls the visibility. the custom property tied to the other item is not suppressed.

I think you will need to do this in 2 parts.

1) textbox to input dthe drawing title in a "temp" custom property.

2) checkbox that does 2 things.

     a) controls the visibilty of the textbox.

     b) toggles the "real" titleblock custom property between the value of the temp property and a blank value.

what vers are you running - I could do a sample in 2011.

SF
SF 2011-12-16

I'm also running 2011. I think i see what you are saying. I'm going to play with that idea as well.

JF
JF 2011-12-16

here is a quick sample - I did a little testing, and for some reason the checkbox keeps unchecking itself.