Imagine I create a line in a sketch angled at 12 degrees (above the x axis)
Then I create another line in the sketch angled at 12 degrees (below the x axis)
When I list the parameters programatically both give me a value in radians of +12 degrees.
So where is the specification of the angle direction stored? As a user I cannot input a negative angle, but I can see that it is negative. But how does a program know the true value of an angular parameter? Currently I get +12 for both lines.
Solved! Go to Solution.
Hope the angle you give in dimension. And that is 12° and it will reflect in parameters. If you want to differentiate the position give the angle on the reverse direction i.e. 168° (180-12).
It has occurred to me that 12° is a magnitude with no sign, and I need to see where that angle is applied to understand in which "direction" the angle is.
I probably need to closely look, programatically, at the line it is applied to, just as a user looks visually at the two lines.
Just guessing though.
See attached.
You can check the start and sketch end points of the lines to determine the direction. Sketch end point will give -ve value of y
Can't find what you're looking for? Ask the community or share your knowledge.