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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. 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.
ACCEPTED SOLUTION

Accepted Solutions
Chris3
21-Topaz I
(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
21-Topaz I
(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!

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags