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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Diplaying parameters in a dimension on a drawing

Dale_Rosema
23-Emerald III

Diplaying parameters in a dimension on a drawing

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

Accepted Solutions

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]

View solution in original post

7 REPLIES 7

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 III
(To:JoshBenson)

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?

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]

Dale_Rosema
23-Emerald III
(To:JoshBenson)

I saw where you mentione the :xxx was for the session ID, but missed the [.0] was for zero digits after the decimal. So if I wanted two decimal places, would it be [.2] or [.xx]? Thanks,

Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

I experimented with it and [.2] is for two decimals.

SylvainA.
4-Participant
(To:Dale_Rosema)

Dale_Rosema
23-Emerald III
(To:SylvainA.)

Thanks, I have used this thread numberous times.

Top Tags