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

Conditional note from dimension

  • December 8, 2015
  • 2 replies
  • 1357 views

I want to make a note display certain text depending on a dimension of a part. I'm guessing it is a basic if statement somewhere, I just don't know where to put it.

 

Ex:

if d1:0 = .375

     "display this text in a note"

endif


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 Chris3

You put it in the relations. The relations then creates a parameter which you call out on the drawing with &NOTE

IF d0 == .375

     NOTE = "YEAH IT WORKS"

ELSE

     NOTE = "NOPE IT DOESN'T"

ENDIF

2 replies

Chris3
Chris321-Topaz IAnswer
21-Topaz I
December 8, 2015

You put it in the relations. The relations then creates a parameter which you call out on the drawing with &NOTE

IF d0 == .375

     NOTE = "YEAH IT WORKS"

ELSE

     NOTE = "NOPE IT DOESN'T"

ENDIF

cbell-31-VisitorAuthor
1-Visitor
December 8, 2015

That worked, thank you!