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: 

Anyone know a keyboard command for "square root"?

14 REPLIES 14
Reply
Message 1 of 15
CDM369
28009 Views, 14 Replies

Anyone know a keyboard command for "square root"?

I'm trying to write a formula for my parameters and I do not know how to represent a square root symbol.
14 REPLIES 14
Message 2 of 15
Anonymous
in reply to: CDM369

sqrt



Syntax Return Type Expected Type(s)
cos(expr) unitless angle
sin(expr) unitless angle
tan(expr) unitless angle
acos(expr) angle unitless
asin(expr) angle unitless
atan(expr) angle unitless
cosh(expr) unitless angle
sinh(expr) unitless angle
tanh(expr) unitless angle
acosh(expr) angle unitless
asinh(expr) angle unitless
atanh(expr) angle unitless
sqrt(expr) unit^1/2 any
sign(expr) unitless any
Return 0 if negative, 1 if positive
exp(expr) unitless any
Return exponential power (for example: returns 2 for 100, 3 for 1000,
and so on.)
floor(expr) ul ul
Next lowest whole number
ceil(expr) ul ul
Next highest whole number
round(expr) ul ul
Closest whole number
abs(expr) any any
max(expr1;expr2) any any
min(expr1;expr2) any any
ln(expr) unitless unitless
log(expr) unitless unitless
pow(expr1; expr2) unit^expr2 any, and unitless respectively
Can construct unit valid equation that can go invalid "pow(3.0; d12)".
Decimal powers will round at eighth decimal place.
random() unitless unitless
isolate(expr;unit;unit) Mechanical Desktop migration

For more information about using VBA functions for parameters, click this
link:

wrote in message news:5128833@discussion.autodesk.com...
I'm trying to write a formula for my parameters and I do not know how to
represent a square root symbol.
Message 3 of 15
Anonymous
in reply to: CDM369

OR

^.5

:)


--
Andrew Faix
Product Designer - Inventor Drawing Manager
Autodesk
"RobV" wrote in message
news:5128856@discussion.autodesk.com...
sqrt



Syntax Return Type Expected Type(s)
cos(expr) unitless angle
sin(expr) unitless angle
tan(expr) unitless angle
acos(expr) angle unitless
asin(expr) angle unitless
atan(expr) angle unitless
cosh(expr) unitless angle
sinh(expr) unitless angle
tanh(expr) unitless angle
acosh(expr) angle unitless
asinh(expr) angle unitless
atanh(expr) angle unitless
sqrt(expr) unit^1/2 any
sign(expr) unitless any
Return 0 if negative, 1 if positive
exp(expr) unitless any
Return exponential power (for example: returns 2 for 100, 3 for 1000,
and so on.)
floor(expr) ul ul
Next lowest whole number
ceil(expr) ul ul
Next highest whole number
round(expr) ul ul
Closest whole number
abs(expr) any any
max(expr1;expr2) any any
min(expr1;expr2) any any
ln(expr) unitless unitless
log(expr) unitless unitless
pow(expr1; expr2) unit^expr2 any, and unitless respectively
Can construct unit valid equation that can go invalid "pow(3.0; d12)".
Decimal powers will round at eighth decimal place.
random() unitless unitless
isolate(expr;unit;unit) Mechanical Desktop migration

For more information about using VBA functions for parameters, click this
link:

wrote in message news:5128833@discussion.autodesk.com...
I'm trying to write a formula for my parameters and I do not know how to
represent a square root symbol.
Message 4 of 15
CDM369
in reply to: CDM369

thanks much!
Message 5 of 15
Anonymous
in reply to: CDM369

The world can be divided into two types of people.. 😉

--
Sean Dotson, PE
RND Automation & Engineering
www.RNDautomation.com
www.mcadforums.com



"Andrew Faix (Autodesk)" wrote in message
news:5128877@discussion.autodesk.com...
OR

^.5

:)


--
Andrew Faix
Product Designer - Inventor Drawing Manager
Autodesk
"RobV" wrote in message
news:5128856@discussion.autodesk.com...
sqrt



Syntax Return Type Expected Type(s)
cos(expr) unitless angle
sin(expr) unitless angle
tan(expr) unitless angle
acos(expr) angle unitless
asin(expr) angle unitless
atan(expr) angle unitless
cosh(expr) unitless angle
sinh(expr) unitless angle
tanh(expr) unitless angle
acosh(expr) angle unitless
asinh(expr) angle unitless
atanh(expr) angle unitless
sqrt(expr) unit^1/2 any
sign(expr) unitless any
Return 0 if negative, 1 if positive
exp(expr) unitless any
Return exponential power (for example: returns 2 for 100, 3 for 1000,
and so on.)
floor(expr) ul ul
Next lowest whole number
ceil(expr) ul ul
Next highest whole number
round(expr) ul ul
Closest whole number
abs(expr) any any
max(expr1;expr2) any any
min(expr1;expr2) any any
ln(expr) unitless unitless
log(expr) unitless unitless
pow(expr1; expr2) unit^expr2 any, and unitless respectively
Can construct unit valid equation that can go invalid "pow(3.0; d12)".
Decimal powers will round at eighth decimal place.
random() unitless unitless
isolate(expr;unit;unit) Mechanical Desktop migration

For more information about using VBA functions for parameters, click this
link:

wrote in message news:5128833@discussion.autodesk.com...
I'm trying to write a formula for my parameters and I do not know how to
represent a square root symbol.
Message 6 of 15
Anonymous
in reply to: CDM369

There are 10 types of people, those who get binary and those that don't.
"Sean Dotson" wrote in message
news:5128894@discussion.autodesk.com...
The world can be divided into two types of people.. 😉

--
Sean Dotson, PE
RND Automation & Engineering
www.RNDautomation.com
www.mcadforums.com



"Andrew Faix (Autodesk)" wrote in message
news:5128877@discussion.autodesk.com...
OR

^.5

:)


--
Andrew Faix
Product Designer - Inventor Drawing Manager
Autodesk
"RobV" wrote in message
news:5128856@discussion.autodesk.com...
sqrt



Syntax Return Type Expected Type(s)
cos(expr) unitless angle
sin(expr) unitless angle
tan(expr) unitless angle
acos(expr) angle unitless
asin(expr) angle unitless
atan(expr) angle unitless
cosh(expr) unitless angle
sinh(expr) unitless angle
tanh(expr) unitless angle
acosh(expr) angle unitless
asinh(expr) angle unitless
atanh(expr) angle unitless
sqrt(expr) unit^1/2 any
sign(expr) unitless any
Return 0 if negative, 1 if positive
exp(expr) unitless any
Return exponential power (for example: returns 2 for 100, 3 for 1000,
and so on.)
floor(expr) ul ul
Next lowest whole number
ceil(expr) ul ul
Next highest whole number
round(expr) ul ul
Closest whole number
abs(expr) any any
max(expr1;expr2) any any
min(expr1;expr2) any any
ln(expr) unitless unitless
log(expr) unitless unitless
pow(expr1; expr2) unit^expr2 any, and unitless respectively
Can construct unit valid equation that can go invalid "pow(3.0; d12)".
Decimal powers will round at eighth decimal place.
random() unitless unitless
isolate(expr;unit;unit) Mechanical Desktop migration

For more information about using VBA functions for parameters, click this
link:

wrote in message news:5128833@discussion.autodesk.com...
I'm trying to write a formula for my parameters and I do not know how to
represent a square root symbol.
Message 7 of 15
Anonymous
in reply to: CDM369

When I was in college (waaaaay back when) the expression in FORTRAN was
[**0.5]. Is there any language still using this, strictly curiosity.
Ray


"Andrew Faix (Autodesk)" wrote in message
news:5128877@discussion.autodesk.com...
OR

^.5

:)


--
Andrew Faix
Product Designer - Inventor Drawing Manager
Autodesk
"RobV" wrote in message
news:5128856@discussion.autodesk.com...
sqrt



Syntax Return Type Expected Type(s)
cos(expr) unitless angle
sin(expr) unitless angle
tan(expr) unitless angle
acos(expr) angle unitless
asin(expr) angle unitless
atan(expr) angle unitless
cosh(expr) unitless angle
sinh(expr) unitless angle
tanh(expr) unitless angle
acosh(expr) angle unitless
asinh(expr) angle unitless
atanh(expr) angle unitless
sqrt(expr) unit^1/2 any
sign(expr) unitless any
Return 0 if negative, 1 if positive
exp(expr) unitless any
Return exponential power (for example: returns 2 for 100, 3 for 1000,
and so on.)
floor(expr) ul ul
Next lowest whole number
ceil(expr) ul ul
Next highest whole number
round(expr) ul ul
Closest whole number
abs(expr) any any
max(expr1;expr2) any any
min(expr1;expr2) any any
ln(expr) unitless unitless
log(expr) unitless unitless
pow(expr1; expr2) unit^expr2 any, and unitless respectively
Can construct unit valid equation that can go invalid "pow(3.0; d12)".
Decimal powers will round at eighth decimal place.
random() unitless unitless
isolate(expr;unit;unit) Mechanical Desktop migration

For more information about using VBA functions for parameters, click this
link:

wrote in message news:5128833@discussion.autodesk.com...
I'm trying to write a formula for my parameters and I do not know how to
represent a square root symbol.
Message 8 of 15
Anonymous
in reply to: CDM369

FORTRAN still uses it 😉

--
Sean Dotson, PE
RND Automation & Engineering
www.RNDautomation.com
www.mcadforums.com
Message 9 of 15
teunisc
in reply to: CDM369

I am trying to get the nearest round number from an expression. However, the round command does not seem to work the way I am expecting it to.

As you can see, I am trying to get "4", but I am getting 3.937008.

Anywone have any idea what is happening here and what I am doing wrong?

 

round.JPG

Message 10 of 15
JDMather
in reply to: teunisc

I am not sure round(of units) makes logical sense.

Try changing to unitless (ul)

Units.png

 

You can use various equation methods to cancel or include units as needed.

 

Note that your function is shown red (invalid).


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


The CADWhisperer YouTube Channel


EESignature

Message 11 of 15
teunisc
in reply to: JDMather

Thank you JD

You mentioned some equation methods to make a value unitless.

Where can I find out more about this? I need to make a value (currently in inches) uniltess in order to applay the round command as you instructed.

Message 12 of 15
Curtis_Waguespack
in reply to: teunisc

Message 13 of 15
JDMather
in reply to: teunisc

one way to cancel unit and add it back on

unit cancelation.png


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


The CADWhisperer YouTube Channel


EESignature

Message 14 of 15
teunisc
in reply to: JDMather

AWESOME. THANK YOU.

Message 15 of 15
mrattray
in reply to: teunisc

FYI... iLogic doesn't care about units even though it uses the same functions.
Mike (not Matt) Rattray

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

Post to forums  

Autodesk Design & Make Report