AnsweredAssumed Answered

Custom property on drawing: "if empty"

Question asked by Samuel Leith on Nov 22, 2012
Latest reply on Nov 26, 2012 by Glenn Schroeder


I'm wondering, is there a way to use "if empty" on solidworks custom properties?


I ask because, for example, we have a custom property names "Treatment".

If I design a part that does not need any treatment, then on the drawing, the box in the title block simlpy shows:




Essentially, it's just blank, and I find this ambiguous. I would like it to display


Treatment: -




Treatment: n/a


Then of course if there is a treatment specified, it would display:


Treatment: 48-50 HRC


or whatever the treatment is.


I thought of 2 ways of doing this:


1) Use a "If empty" type equation on the drawing sheet format. I've never heard of such a functionality, so I don't know how feasible this is.


2) Set the default value for Treatment property to be "n/a", however I don't see any ways of setting a default value in the Custom Property Tab Builder.


Any insights on how to implement either of these solutions would be great.