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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

ppandarkar-2
15-Moonstone

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

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

Accepted Solutions
StephenW
23-Emerald II
(To:ppandarkar-2)

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

View solution in original post

2 REPLIES 2
StephenW
23-Emerald II
(To:ppandarkar-2)

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

Thanks Stephen for prompt and correct solution.

It works for me. Thank you very much.

Regards,

Prashant Pandarkar

Top Tags