LWolf
Automotive
- Mar 20, 2007
- 521
why doesn't this statement yield the x-component of the direction vector?...
However, when I try the GetAttributeReal of the Direction command, I get(0,0,1) as components (for respective direction)...
Moreover, when I try to see what Real Attributes that are supported [direction(Line.2).ListAttributeNames("Real",false)] I don't see those, instead I see RatioX, RatioY and RatioZ, which seem odd, least to say...
regards,
LWolf
direction(Line.2)->GetAttributeReal("X")
I have constructed Line.2 in XY plane, with 45deg to x-axis. A "Measure Item" of the line reveals the correct unit vector components (.707, .707, 0)However, when I try the GetAttributeReal of the Direction command, I get(0,0,1) as components (for respective direction)...
Moreover, when I try to see what Real Attributes that are supported [direction(Line.2).ListAttributeNames("Real",false)] I don't see those, instead I see RatioX, RatioY and RatioZ, which seem odd, least to say...
regards,
LWolf