cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Conditional note from dimension

cbell-3
1-Newbie

Conditional note from dimension

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.
1 ACCEPTED SOLUTION

Accepted Solutions
Chris3
20-Turquoise
(To:cbell-3)

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

View solution in original post

2 REPLIES 2
Chris3
20-Turquoise
(To:cbell-3)

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-3
1-Newbie
(To:Chris3)

That worked, thank you!

Top Tags