How to round figure Pipe bend angle value in Drawing tables repeat region cell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Solved! Go to Solution.
- Labels:
-
General
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Stephen for prompt and correct solution.
It works for me. Thank you very much.
Regards,
Prashant Pandarkar
