Inventor General

Reply
Distinguished Contributor
CDM369
Posts: 227
Registered: ‎10-07-2003
Message 1 of 15 (4,132 Views)

Anyone know a keyboard command for "square root"?

4132 Views, 14 Replies
03-31-2006 12:20 PM
I'm trying to write a formula for my parameters and I do not know how to represent a square root symbol.
*RobV
Message 2 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

03-31-2006 12:32 PM 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.
*Andrew Faix \(Autodesk\)
Message 3 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

03-31-2006 12:43 PM in reply to: CDM369
OR

^.5

:smileyhappy:


--
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.
Distinguished Contributor
CDM369
Posts: 227
Registered: ‎10-07-2003
Message 4 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

03-31-2006 12:49 PM in reply to: CDM369
thanks much!
*Sean Dotson
Message 5 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

03-31-2006 12:56 PM in reply to: CDM369
The world can be divided into two types of people.. :smileywink:

--
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

:smileyhappy:


--
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.
*Blair Stunder
Message 6 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

03-31-2006 01:41 PM 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.. :smileywink:

--
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

:smileyhappy:


--
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.
*Ray Dyson
Message 7 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

03-31-2006 02:14 PM 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

:smileyhappy:


--
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.
*Sean Dotson
Message 8 of 15 (4,132 Views)

Re: Anyone know a keyboard command for "square root"?

04-02-2006 01:41 PM in reply to: CDM369
FORTRAN still uses it :smileywink:

--
Sean Dotson, PE
RND Automation & Engineering
www.RNDautomation.com
www.mcadforums.com
Member
teunisc
Posts: 4
Registered: ‎10-08-2013
Message 9 of 15 (1,938 Views)

round () command

10-08-2013 08:53 AM 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

*Expert Elite*
JDMather
Posts: 26,161
Registered: ‎04-20-2006
Message 10 of 15 (1,929 Views)

Re: round () command

10-08-2013 09:25 AM 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).

Please mark this response as "Accept as Solution" if it answers your question.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2014 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2015 64-bit
http://www.autodesk.com/edcommunity
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube