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: 

Parameter Rounding to Multiples - similar to MROUND in Excel

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
ggoodey
1686 Views, 3 Replies

Parameter Rounding to Multiples - similar to MROUND in Excel

I have a parameter FLANGE_WIDTH controlling the width flange...

I would like to place a hole approximately half way across the flange, rounded up to the nearest 5 mm.

So if I have a 75 mm flange, I would the hole to be 40 mm from the edge instead of 37.5.

 

In Excel this would be:

=MROUND((FLANGE_WIDTH/2),5)

 

Is there a function to accomplish this in Inventor?

I know I can link to Excel, but I would prefer not to have any external references in this instance.

 

 

Thanks in advance

Grant

3 REPLIES 3
Message 2 of 4
stephengibson76
in reply to: ggoodey

round(( Flange_Width / 2 mm ) / 5 ul) * 5 mm

 

type this in for your hole distance, you could use the floor or ceiling function if you wanted the hole to move a certain way

Stephen Gibson



View stephen gibson's profile on LinkedIn


Message 3 of 4
Loren_J
in reply to: stephengibson76

Search Help for "formulas and equations." This should return the Functions topic. It lists the parameter functions in Inventor.

LorenJ

Inventor 2011 Pro
Win7 64 SP1
Xeon W3550 @3.07 GHz
ATI FirePro V5700, 8.773.0.0
12 GB RAM
Message 4 of 4
ggoodey
in reply to: ggoodey

Brilliant!

 

Thank you both.

 

Grant

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

Post to forums