Hai guys,
How can I, instead of a fixed 90 degrees, make it a question of how much degrees it's going to be?
So that I don't have to use 3 scripts.
Code:(DEFUN C:viewportrotate90 () (SETVAR "CMDECHO" 0) (COMMAND "PSPACE") (COMMAND "-vports" "lock" "off" "all" "") (COMMAND "MSPACE") (command "ucsicon" "on") (command "dview" "" "tw" "90" "") (COMMAND "-vports" "lock" "on" "all" "") (COMMAND "MSPACE") (command "ucs" "view") (setvar "cmdecho" 1) (princ "\nViewport rotated to UCS 90.") (PRINC))Moderator Note:


Reply With Quote
