What is the correct way to write these "parameter" equations in iLogic

What is the correct way to write these "parameter" equations in iLogic

chris
Advisor Advisor
341 Views
2 Replies
Message 1 of 3

What is the correct way to write these "parameter" equations in iLogic

chris
Advisor
Advisor

These work for me when I write them in the parameter window, but what is the correct way to write these within iLogic?

I'm not sure the correct way to write the (/1in), as the "in" causes problems within the code)

 

1.    acos((D1_b/1in)/(D1_c/1in))
2.    asin((D1_b/1in)/(D1_c/1in))
3.    sqrt(((D1_a/1in)^2ul)+((D1_b/1in)^2ul))*1in

 

(Above parameter names)  D1_a,   D1_b,   D1_c

 

chris_0-1714858655176.png

chris_1-1714858822140.png

 

 

Accepted solutions (1)
342 Views
2 Replies
Replies (2)
Message 2 of 3

chris
Advisor
Advisor

Okay, it looks like the iLogic equation is working, it's just giving me the answer in Radians, is there something I can add to the end of the iLogic equation that will convert to degrees?

0 Likes
Message 3 of 3

chris
Advisor
Advisor
Accepted solution

Nevermind, I figured it out

0 Likes