CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1734 

CAD tip CAD tip # 9359:

Question CAD 
 %  platform  category 
Q - question

Different types of rounding in Inventor parameters.

A - answer You can use various mathemetical functions for your user parameters in Inventor 3D models and drawing dimensions. Ao. you can round the parameter values.

It is neccessary to keep proper units when processing parameters - supply unitless values to arithmetic functions. So if you e.g. need to calculate a user parameter as a rounded value of another parameter (dimension), with rounding to 2 decimal places, use:

round(d0 / 0.01 mm) * 0.01 mm

The parameter of the function round() is now unitless (originally a length) and the resulting value is converted back to a length value (mm, inches, etc.).

Similarly you can round the values to a different number of decimal places, to tens, hundreds, or also e.g. to multiples of 25mm segments:

round(d0 / 25 mm) * 25 mm

Inventor
100% *  CAD 
25.7.2013    3020x  
Comments   Tell a friend
applies to: Inventor ·

See also:
Tip 9620:Do you properly ground the first component in your assembly?
Tip 9435:Saving an Inventor drawing as an image (background, resolution).
Tip 9248:Math functions in parameters of Inventor models.
Tip 8986:Material density as a custom iProperty in Inventor.
Tip 8367:Green corners around drawing views in Inventor.


Back   All CAD Tips All CAD tips&tricks

How to hide the frame of a wipeout, embedded DWF or DGN? « | » Intersection of a 3D curve with a 3D surface in AutoCAD.

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist