If you generally work in the world coordinate system in AutoCAD, but occasionally need to rotate the UCS about the z-axis, this tip from Alan Praysman should help you. Start by loading the LISP file and typing in the command UCSR. This command acts as a toggle: If you are currently in the WCS when you run it, you will be prompted to select two points to define the new x-axis, and the UCS will be rotated about the z-axis. If you are not in the WCS when you run it, then WCS will be restored. You might want to add some code to control the UCSFOLLOW system variable, which determines whether the view changes when the UCS changes. Thanks, Alan. |