Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ceil functions in parameters

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
justinpcaris
9604 Views, 3 Replies

ceil functions in parameters

I am trying to use the ceil functions in parameters and it wont allow me to reference a dimension.  I understand that the equation that I am using ceil in has to be unitless but do the units im refrencing also have to be unitless.  I want to divide a dimension my 21 then round up to the nearest whold number.  I am using inventor 2014.

3 REPLIES 3
Message 2 of 4
JDMather
in reply to: justinpcaris

Post simple example here.

 

The solution will involve getting correct units and unitless in the equation.


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


The CADWhisperer YouTube Channel


EESignature

Message 3 of 4
cwhetten
in reply to: justinpcaris

Yes, the ceil( ) function expects a unitless value and returns a unitless value.  For example, if you have a parameter named Width whose units are mm, your ceiling function would have to look like this:

 

ceil( Width / 1mm ) * 1mm

 

See these other topics for additional help:

 

http://forums.autodesk.com/t5/Inventor-General/Parameter-Not-Rounding-Correctly/m-p/4497453/highligh...

 

http://forums.autodesk.com/t5/Inventor-General/Parameter-Rounding-to-Multiples-similar-to-MROUND-in-...

 

Cameron Whetten
Inventor 2014

Please click "Accept as Solution" if this response answers your question.

Message 4 of 4
justinpcaris
in reply to: justinpcaris

Thats it thanks for the help.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums