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 Syntax

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
137 Views, 5 Replies

Parameter Syntax

Quick question:

Is the following legal syntax?

((PI * (OD - Thickness)) / 360) * (d18 * 2)

When I type it into the parameters, it stays red.

Where.......
OD is a User Parameter and set to 17.500
Thickness = .375
d18 = 179.9


If not, what am I doing wrong?
(I have to be screwing up the ( ) somewhere?)

If so, why doesn't it work?

Thanks,
-Ken
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

You have 2 distances multiplied (OD and D18) which gives you squared units
for example :-

i.e d1=10mm
d2 = 3mm

d1*d2 :-

10mm * 3mm = 30mm^2

To get an answer of 30mm, use the following "(d1*d2)/1mm"

As shown above the easiest way to get round this is to put "/1mm" on the end
of your formula (or "in" if you use inches) - Obviously ignore the quotes.

There are more elegant solutions using the isolate function but this should
get you going.

Hope this helps

Rory



"Ken Schumacher" wrote in message
news:502C0D71F0E1022AFD49C57571EFFBF7@in.WebX.maYIadrTaRb...
> Quick question:
>
> Is the following legal syntax?
>
> ((PI * (OD - Thickness)) / 360) * (d18 * 2)
>
> When I type it into the parameters, it stays red.
>
> Where.......
> OD is a User Parameter and set to 17.500
> Thickness = .375
> d18 = 179.9
>
>
> If not, what am I doing wrong?
> (I have to be screwing up the ( ) somewhere?)
>
> If so, why doesn't it work?
>
> Thanks,
> -Ken
>
>
Message 3 of 6
Anonymous
in reply to: Anonymous

What about:

2*d18 * (...

Will that work maybe?
~Larry

"Ken Schumacher" wrote in message
news:502C0D71F0E1022AFD49C57571EFFBF7@in.WebX.maYIadrTaRb...
> Quick question:
>
> Is the following legal syntax?
>
> ((PI * (OD - Thickness)) / 360) * (d18 * 2)
>
> When I type it into the parameters, it stays red.
>
> Where.......
> OD is a User Parameter and set to 17.500
> Thickness = .375
> d18 = 179.9
>
>
> If not, what am I doing wrong?
> (I have to be screwing up the ( ) somewhere?)
>
> If so, why doesn't it work?
>
> Thanks,
> -Ken
>
>
Message 4 of 6
Anonymous
in reply to: Anonymous

Ahhh..

Thanks for the suggestions.

What did end up working, was that I added deg after my 360.

Thanks again,
-Ken



"Rory" wrote in message news:ED78ECE6F92A7CF127E031281881BDC3@in.WebX.maYIadrTaRb...
> You have 2 distances multiplied (OD and D18) which gives you squared units
> for example :-
>
> i.e d1=10mm
> d2 = 3mm
>
> d1*d2 :-
>
> 10mm * 3mm = 30mm^2
>
> To get an answer of 30mm, use the following "(d1*d2)/1mm"
>
> As shown above the easiest way to get round this is to put "/1mm" on the end
> of your formula (or "in" if you use inches) - Obviously ignore the quotes.
>
> There are more elegant solutions using the isolate function but this should
> get you going.
>
> Hope this helps
>
> Rory
>
>
>
> "Ken Schumacher" wrote in message
> news:502C0D71F0E1022AFD49C57571EFFBF7@in.WebX.maYIadrTaRb...
> > Quick question:
> >
> > Is the following legal syntax?
> >
> > ((PI * (OD - Thickness)) / 360) * (d18 * 2)
> >
> > When I type it into the parameters, it stays red.
> >
> > Where.......
> > OD is a User Parameter and set to 17.500
> > Thickness = .375
> > d18 = 179.9
> >
> >
> > If not, what am I doing wrong?
> > (I have to be screwing up the ( ) somewhere?)
> >
> > If so, why doesn't it work?
> >
> > Thanks,
> > -Ken
> >
> >
>
>
Message 5 of 6
Anonymous
in reply to: Anonymous

( ( PI * ( OD - Thickness ) ) / 360 deg ) * d18 * 2 ul
you needed the degrees on the 360


--
Drew Fulford B.A.Sc. Systems Engineer
Solid Caddgroup Inc. Burlington, Ontario
Tel: (905)331-9670, Toll Free: 1-(866) 698-2831, Fax: (905)331-7280
Corporate: http://www.solidcadcam.com/

Member of the Autodesk Discussion Forum Moderator Program
Visit my MCAD website @ http://www.mymcad.com/
"Ken Schumacher" wrote in message
news:502C0D71F0E1022AFD49C57571EFFBF7@in.WebX.maYIadrTaRb...
> Quick question:
>
> Is the following legal syntax?
>
> ((PI * (OD - Thickness)) / 360) * (d18 * 2)
>
> When I type it into the parameters, it stays red.
>
> Where.......
> OD is a User Parameter and set to 17.500
> Thickness = .375
> d18 = 179.9
>
>
> If not, what am I doing wrong?
> (I have to be screwing up the ( ) somewhere?)
>
> If so, why doesn't it work?
>
> Thanks,
> -Ken
>
>
Message 6 of 6
Anonymous
in reply to: Anonymous

Thanks Drew,

That hit me like a ton of bricks after reading Rory and Larry's replies.





"Drew Fulford" wrote in message news:F5A4DAFE7704239B0C2966524E838BFE@in.WebX.maYIadrTaRb...
> ( ( PI * ( OD - Thickness ) ) / 360 deg ) * d18 * 2 ul
> you needed the degrees on the 360
>
>
> --
> Drew Fulford B.A.Sc. Systems Engineer
> Solid Caddgroup Inc. Burlington, Ontario
> Tel: (905)331-9670, Toll Free: 1-(866) 698-2831, Fax: (905)331-7280
> Corporate: http://www.solidcadcam.com/
>
> Member of the Autodesk Discussion Forum Moderator Program
> Visit my MCAD website @ http://www.mymcad.com/
> "Ken Schumacher" wrote in message
> news:502C0D71F0E1022AFD49C57571EFFBF7@in.WebX.maYIadrTaRb...
> > Quick question:
> >
> > Is the following legal syntax?
> >
> > ((PI * (OD - Thickness)) / 360) * (d18 * 2)
> >
> > When I type it into the parameters, it stays red.
> >
> > Where.......
> > OD is a User Parameter and set to 17.500
> > Thickness = .375
> > d18 = 179.9
> >
> >
> > If not, what am I doing wrong?
> > (I have to be screwing up the ( ) somewhere?)
> >
> > If so, why doesn't it work?
> >
> > Thanks,
> > -Ken
> >
> >
>
>

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

Post to forums  

Autodesk Design & Make Report