Skip to main content
1-Visitor
December 15, 2015
Solved

How to hide a parameter value in drawing

  • December 15, 2015
  • 6 replies
  • 3130 views

Hello,

 

I have several model parameters that are shown in drawing BOM. Two of them are raw material dimensions and a standard (norm)

I would need to hide/dont show a value of the dimension in drawing supposing that the parameter standard is not empty.

 

Thanks in advance

 

Tom


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by RaphMORIN

You should manage to do this with relations in you parts. Something such as :

if standard == ""

     dimensions = ""

else

     dimensions = "what ever you want"

endif

6 replies

RaphMORIN16-PearlAnswer
16-Pearl
December 15, 2015

You should manage to do this with relations in you parts. Something such as :

if standard == ""

     dimensions = ""

else

     dimensions = "what ever you want"

endif

thlavinka1-VisitorAuthor
1-Visitor
December 17, 2015

Can i ask for one more help?

I would like add next following relation to a subasm drawing:

if asm.mbr.nazev == "SVARENEC"

     asm.mbr.norma = ""

else

     asm.mbr.norma = &sheet_number

endif

where asm.mbr.nazev is a name of the subasm/part in BOM. In case of a subassembly the name is always "SVARENEC"

I would like to make a relation to have in the bom collumn a sheet number in case of subasm (svarenec) or a standard (DIN....) at parts in the same collumn.

It does not work....

Thanks for help

Tom

16-Pearl
December 17, 2015

The syntax asm.mbr.something is used only in the table reports. For you relation you must write it with parameters like this for example :

if nazev == "SVARENEC"

     norma =""

else

     norma = &sheet_number

endif

thlavinka1-VisitorAuthor
1-Visitor
December 15, 2015

It works....., thanks a lot