Skip to main content
1-Visitor
May 20, 2014
Solved

Parameter Decimal Place

  • May 20, 2014
  • 1 reply
  • 3968 views

Hey guys,

I am trying to drive some parameters with a number, and it automatically rounds to two decimal places. I would assume there is a way to set this decimal place but I am having a hard time finding it.5-20-2014+8-12-31+AM.png

Thank you!

Brock


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 John.Pryal

Hi, there is a config option Param_dec_places. You the number of decimal places here.

Regards

John

1 reply

1-Visitor
May 20, 2014

Hi, there is a config option Param_dec_places. You the number of decimal places here.

Regards

John

17-Peridot
May 21, 2014

Interesting... By default mine is 6 places but it is truncated as using the parameter in relations is much greater.

in this case, I set x=pi in part relations. I used "x" in the sketch and as a height value of an extrude. Removing the rounding, it has more than 6 digit accuracy.

param_accuracy.PNG