Cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding integers on drafting dimensions

Siemens Legend Siemens Legend
Siemens Legend

Is it possible to round the integer on drafting dimensions automatically ?
We design very large power plants where the placement of the equipment isn't that critical in all places.

  - if somebody places a "device"<100 mm off, it's not critical.

 

So if i place a dimension on a drawing, say that i then get the value 15347.34

 Is it possible to have NX round that to 15350 ?  ( rounded to closest 10)

   or to 15300 ?  ( closest 100)

 

Yes , we do have problems with the kilometer box limitation.

 

Regards,

 Tomas

3 REPLIES

Re: Rounding integers on drafting dimensions

Siemens Phenom Siemens Phenom
Siemens Phenom

I'm not sure that there's anything, short of writing a custom utility to edit the values of previously place dimensions, that could address your issue.

 

As for the one kilometer box size limitation, while this will not impact the accuracy of your models, you can overcome some of the graphical issues that you might be experiencing as your models exceed that limit, you can set an environment variable which will increase the useful 'graphical' envelope.  Just set the variable:

 

UGII_MAX_FIT_BOX_SIZE=<desired box size in millimeters>

 

Keep in mind that the out-of-the-box default is 1000000 millimeters (one kilometer).

 

John R. Baker, P.E. (ret)
EX-Product 'Evangelist'
Irvine, CA

Re: Rounding integers on drafting dimensions

Siemens Legend Siemens Legend
Siemens Legend

The "workaround" that i came up with is to use meters instead of millimeters as the dimensioning unit, then the ten's and hundred's become decimals and can be rounded using the regular number of decimals control. 

 "15347.34" will be "15.3 meters" if i use 1 decimal

 

 

Regarding the UGII_MAX_FIT_BOX_SIZE,

  There is a similar option in the Customer defaults - Gateway - Visualization - View /Screen ; Maximum size for an object's bounding box, ( Which we have set)

 

I wonder if it is the same option ?

 

 Regards,

 Tomas

Re: Rounding integers on drafting dimensions

Siemens Phenom Siemens Phenom
Siemens Phenom

I'm not sure if that's the same thing.  I'll have to check it out when I'm back in the office next week.

John R. Baker, P.E. (ret)
EX-Product 'Evangelist'
Irvine, CA