Skip to main content
13-Aquamarine
May 5, 2026
Question

Handling the default precision on numeric attributes from CAD

  • May 5, 2026
  • 1 reply
  • 37 views

Hoping someone might have already solved this one and be willing to share their approach. By default any floating point number passed to an EPMDocument from a CAD file has the precision set to the max (14 I think), which means the value has to show using scientific notation, which is not easy to read. There is a configuration option to ignore precision, but then you lose all precision on all attribute values on all objects, which does not meet our requirements. Ideally I would like to control the display of those particular attributes to limit the number of significant figures, which is going to take some level of customisation. Perhaps modifying the data processor to change rendering for a configured list of attributes, or catching the store of the attribute value and reducing the precision.

Has anyone tackled this issue, able to share any details or lessons learned?

1 reply

avillanueva
23-Emerald I
23-Emerald I
May 6, 2026

Are you just looking to control the display or are you looking to change the value as stored?

13-Aquamarine
May 6, 2026

Really just need to control the display, only on the selected numeric attributes we have mapped from CAD to the EPMDocument type definition.

16-Pearl
May 6, 2026

Have a look at these 2 kb articles. 

https://www.ptc.com/en/support/article/CS36590

and 

https://www.ptc.com/en/support/article/CS44286 for the xconfmanager command

This may help unless the value is something like this 1.00000000045

https://www.ptc.com/en/support/article/CS352099

Chances are pretty good that getting it right in the cad system will be the solution.