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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

WINDCHILL HOW REAL NUMBER ATTRIBUTE VALUE DISPLAY 3 DIGIT AFTER DECIMAL PLACES..??

RahulKalaskar
1-Visitor

WINDCHILL HOW REAL NUMBER ATTRIBUTE VALUE DISPLAY 3 DIGIT AFTER DECIMAL PLACES..??

In WINDCHILL Real number Attribute showing in the object detail page 14 place decimal scientific notation. How can I display 3-digit decimal standard after decimal for WEIGHT ATTRIBUTE IN windchill as Type REAL NUMBER??.

4 REPLIES 4

In order to control the number of decimal places in windchill, we have to control that in the relations window in proE like

MASS_KG_PIECE_2=ceil(PRO_MP_MASS,3)

ceil is the parameter to control the decimal places and 3 is the number of decimals

This works for us, hope the same should work for you

Hi SURESHKUMAR,

Yes we can use CEIL,FLOOR,ROUND in Proe Relation,But my client has huge data near about 80 GB(Legacy data).

cant we restrict this Real Number Attribute type value after decimal places in WINDCHILL .SO they dont have to modify their data.

Regards,

RAHUL

We can see the same need. Any properties/preferences for this in Windchill?

Officially, according to https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS36590 there is no configuration point for this.

You can vote for the idea in Change display of real numbers - PTC Community to push the realization.

 

On the other hand, LoadFromFile *.xml files and csv files have the number of significant digits supplied with the load for every real figure:

csv: csvvalue2 https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS232145

xml: myValue|precision https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS40610

 

like:

<csvvalue>DATA| com.ptc.core.meta.common.FloatingPoint|23.42|4</csvvalue>

<csvvalue>DATA| com.ptc.core.meta.common.FloatingPoint|23.4200|6</csvvalue>

<csvvalue>DATA| com.ptc.core.meta.common.FloatingPoint|1.990|4</csvvalue>

 

 

 

so if you can import the values through xml, you could specify the number of significant digits editing the precision string.

Announcements


Top Tags