Skip to main content
15-Moonstone
November 3, 2015
Solved

How to round figure Pipe bend angle value in Drawing tables repeat region cell?

  • November 3, 2015
  • 2 replies
  • 1461 views

Hi..

 

I have created a pipe by Pro-piping module, and in drawing need repeat region table with information of point information of X, Y, Z co-ordinate and Bend angle, But We need bend angle with round figure value i.e. if angle is 56.223 then it should display 56 or if value is 56.895 then it should display 57.

 

Or at least I can able to show only value without decimal. i.e. if value is 56.223 or 56.895 I need only 56 NO after decimal.

So please can anyone help me.

 

Thanks ,

Prashant Pandarkar


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 StephenW

Add [.0] to your repeat region parameter.

[.0] round to zero decimal places

[.1] round to one decimal place

[.2] round to two decimal places

etc....

This is how my mass property is done in my BOM to round to zero decimal places.

&asm.mbr.pro_mp_mass[.0] LBS

2 replies

StephenW
StephenW23-Emerald IIIAnswer
23-Emerald III
November 3, 2015

Add [.0] to your repeat region parameter.

[.0] round to zero decimal places

[.1] round to one decimal place

[.2] round to two decimal places

etc....

This is how my mass property is done in my BOM to round to zero decimal places.

&asm.mbr.pro_mp_mass[.0] LBS

15-Moonstone
November 3, 2015

Thanks Stephen for prompt and correct solution.

It works for me. Thank you very much.

Regards,

Prashant Pandarkar