musyas Posted December 23, 2008 Posted December 23, 2008 Anyone here can give me a guide that how to rotate the UCS icon, angle by angle. This is my big prolblem. Quote
MaxwellEdison Posted December 23, 2008 Posted December 23, 2008 This tutorial should cover the basics for you. If you are in the Ribbon view on 09 some of the commands may be in different locations, but under the toolbars they should all function the same. Quote
musyas Posted December 23, 2008 Author Posted December 23, 2008 OK tnx Sir.. i'll practice it right now. Quote
mugshot Posted December 23, 2008 Posted December 23, 2008 ... i use ucs base on by face and not by coordinate. i.e. instead of sw,ew,nw,etc- i set ucs>fr(front). its keep me faster track where i should have draw my lines. Quote
rkent Posted December 23, 2008 Posted December 23, 2008 I set up some quick keys to automate manipulating the UCS and 12 or so quick keys take care of a large portion of what is needed for the 3D that I do. In my acaddoc.lsp file I have the following for 3D. (DEFUN C:U3 () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "3")(PRIN1)) (DEFUN C:UB () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "BOTTOM")(PRIN1)) (DEFUN C:UBA () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "BACK")(PRIN1)) (DEFUN C:UF () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "FRONT")(PRIN1)) (DEFUN C:UL () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "LEFT")(PRIN1)) (DEFUN C:UM () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "MOVE")(PRIN1)) (DEFUN C:UO () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "OBJECT")(PRIN1)) (DEFUN C:UR () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "RIGHT")(PRIN1)) (DEFUN C:UT () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "TOP")(PRIN1)) (DEFUN C:UV () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "VIEW")(PRIN1)) (DEFUN C:UW () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "WORLD")(PRIN1)) (DEFUN C:UZ () (SETVAR "CMDECHO" 0)(COMMAND ".UCS" "ZAXIS")(PRIN1)) (DEFUN C: pW () (SETVAR "CMDECHO" 0)(COMMAND ".PLAN" "WORLD")(PRIN1)) (DEFUN C:X9 () (SETVAR "CMDECHO" 1)(COMMAND "UCS" "X" "90")(PRIN1)) (DEFUN C:Y9 () (SETVAR "CMDECHO" 1)(COMMAND "UCS" "Y" "90") (PRIN1)) (DEFUN C:Z9 () (SETVAR "CMDECHO" 1)(COMMAND "UCS" "Z" "90")(PRIN1)) To understand what each line does look at the two characters after the (DEFUN C: . X9 will rotate the UCS 90 degrees around the X axis., hitting enter will rotate the UCS around the X axis 90 more degrees. Same idea for Y9 and Z9. If you have a line you want to align the UCS to, try UO, for UCS, object. Type UO and pick an object. Type UW and PW to set UCS and Plan to World to get you back to a default starting point. Type UCS, enter and the command line and look at and explore all the available options. Quote
smorales02 Posted December 23, 2008 Posted December 23, 2008 I find UCS, 3 point, to be the easiest to use... Quote
mugshot Posted December 23, 2008 Posted December 23, 2008 i guess everyone has its own approach to their most comfortable ways.....:wink: ... and merry Christmas to all and have a profitable year!!! :xmas: Quote
musyas Posted December 23, 2008 Author Posted December 23, 2008 @rkent Can you give me the complete LISP code to copy, so that i can do and make a source, Or is that the code anyway? Quote
Bogbadbob658 Posted December 24, 2008 Posted December 24, 2008 I would have thought the simplist way was to use the UCS 'Z' option and set the angle to 1. If you want the view to rotate rather than the ucs then set 'ucsfollow' to 1. Quote
mugshot Posted December 24, 2008 Posted December 24, 2008 ... here is a lisp that I've got a month ago.. i would like to share it.... Snapline.lsp Quote
musyas Posted December 24, 2008 Author Posted December 24, 2008 Can you make a sample how to use that LISP? Quote
mugshot Posted December 24, 2008 Posted December 24, 2008 I'll give you an edited one by typing qw, then click on your reference line... going back to the normal ucs, just type qw>0. before i forget. this runs only on plan view.... (sowe) Snapline.lsp Quote
rkent Posted December 24, 2008 Posted December 24, 2008 @rkentCan you give me the complete LISP code to copy, so that i can do and make a source, Or is that the code anyway? That is the code, copy and paste it into the acaddoc.lsp. If it doens't exist then open a text editor, paste, save to that name and in a folder in the search path. For search path go to Options, Files, support folders, see what is in there, add your own if you want. I keep all my customization files in an acad folder under my documents. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.