Skip to main content
Dale_Rosema
23-Emerald IV
November 12, 2012
Solved

Diplaying parameters in a dimension on a drawing

  • November 12, 2012
  • 7 replies
  • 2213 views

Hopefully this is an easy one.

I have a parameter driven series of holes. I then mirrored them (so there doubled). I would like to display #X holes in the note on the diameter dimension on the drawing where # is the value of a parameter and I can just say both sides. If the paramter (for example) was num_holes, how would I get the value of this parameter to display in the dimension.

Thanks, Dale


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 JoshBenson

Do you mean without decimal places? That is where the [.x] at the end comes in, where x is the number of decimal places you want to show. To show a real number as an integer: &real_number_parameter[.0]

7 replies

12-Amethyst
November 13, 2012

Dale -

In the dimension display properties, add the text:

&num_holes

or if your parameter is a real number parameter:

&num_holes[.0] (controls number of decimal places displayed)

If you are editing a drawing dimension, you will need to know the session ID of the part with the parameter:

&num_holes:xxx where xxx is the session ID

Thanks,

Josh

Dale_Rosema
23-Emerald IV
November 14, 2012

I am part of the way there now. If the parameter is a real number, but I want to display it an integer, is there a way to truncate the value?

12-Amethyst
November 14, 2012

Do you mean without decimal places? That is where the [.x] at the end comes in, where x is the number of decimal places you want to show. To show a real number as an integer: &real_number_parameter[.0]

1-Visitor
November 15, 2012
Dale_Rosema
23-Emerald IV
December 17, 2012

Thanks, I have used this thread numberous times.