How to set up a value of an angle dependent on different value
How to set up a value of an angle dependent on different value
(OP)
I have an assembly with two parts. In one part there is a point. In Expressions I have p1143_x = 5 p1144_y = 10 p1145_y = 15
In another part ( in the same assembly ) I have two curves and an angle between those curves is for example p1200=20
How to set up a value of an angle ( p1200 ) dependent on for example this Expression - p1143_x
What I want is to set up p1200 like this
if p1143_x > 0 then set up p1200 = 20
if p1143_x < 0 then set up p1200 = 30
Regards
In another part ( in the same assembly ) I have two curves and an angle between those curves is for example p1200=20
How to set up a value of an angle ( p1200 ) dependent on for example this Expression - p1143_x
What I want is to set up p1200 like this
if p1143_x > 0 then set up p1200 = 20
if p1143_x < 0 then set up p1200 = 30
Regards





RE: How to set up a value of an angle dependent on different value
For "part_a" in this example the part name is 001127/A (managed mode). In unmanaged mode omit the /A revision.
The formula for p1200 can be written as
if ("001127/A"::p1143_x < 0) 30 else 20
And the "what if p1143_x is zero" possibility could also be handled by changing the < to <=
HTH, Joe
RE: How to set up a value of an angle dependent on different value
This is what I need