Robert Good
Usenet Archive
- Joined
- Sep 16, 2003
- Messages
- 15
- Reaction score
- 0
I am writing a function to insert blocks with the vla method:
(vla-insertBlock mspace <insertion point> <xscale> <yscale> <zscale> <rotation>)
the problem is with the rotation entry. I seems thru my experimentation that the rotation has nothing to do with the current ucs and everything to do with the system variable "ViewTwist"
current ucs rotated 45 degrees from wcs - "ViewTwist" = 315 <radian equivelent> current ucs rotated 90 degrees from wcs - "ViewTwist" = 270 <radian equivelent> current ucs rotated 135 degrees from wcs - "ViewTwist" = 225 <radian equivelent>
...... Just figured out something. the view angle on viewtwist goes clockwise.
But, how do I invert this number to a usable rotation in the vla-insertBlock....
Am i heading in the correct direction, or am i just flailing in the deep end???
Robert Good.
(vla-insertBlock mspace <insertion point> <xscale> <yscale> <zscale> <rotation>)
the problem is with the rotation entry. I seems thru my experimentation that the rotation has nothing to do with the current ucs and everything to do with the system variable "ViewTwist"
current ucs rotated 45 degrees from wcs - "ViewTwist" = 315 <radian equivelent> current ucs rotated 90 degrees from wcs - "ViewTwist" = 270 <radian equivelent> current ucs rotated 135 degrees from wcs - "ViewTwist" = 225 <radian equivelent>
...... Just figured out something. the view angle on viewtwist goes clockwise.
But, how do I invert this number to a usable rotation in the vla-insertBlock....
Am i heading in the correct direction, or am i just flailing in the deep end???
Robert Good.