nukik Posted November 1, 2009 Posted November 1, 2009 hello, I'm trying to create an attribute that will show the x & y values of an object/point in realtion to to a new defined ucs (I'm using autocad 2008). for some reason, the attribute i'm trying to define only shows the the x,y parameters in relation to world ucs. I made sure the new defined ucs is set as current. In the attribute definition dialouge box i did as following: default > field name: object > selected the object (a circle) > property: center > format: current units. when trying to do this in other drawings all works fine, but i've already tryed to purge everything from this file, to copy all lines to a new drawing but nothing helps. thanks! Quote
BIGAL Posted November 2, 2009 Posted November 2, 2009 I think the problem is in the object ie a circle was it drawn in the new UCS ? Circles will become ovals in new UCS because they are still in the original world plane. Quote
nukik Posted November 2, 2009 Author Posted November 2, 2009 Well, i have been trying to do the same with a point (instead of a circle) but the coordinates remained the same. [basically, what i'm trying to do is to create a block attribute that will automatically give me X,Y coordinates according to its location in relation to a ucs i created. i thought i could do it by using a point or circle. is there any other way?]. Quote
BIGAL Posted November 3, 2009 Posted November 3, 2009 Not sure how this helps but in my old lisp manual Group codes by entity code 210 Extrusion direction (present if entity's extrusion direction is not parrallel to world Z axis apllies to lines blocks circles etc It also talks about codes Y(220) Z(230) Not sure if this has helped. Quote
BIGAL Posted November 3, 2009 Posted November 3, 2009 found it ! Trans is a lips function to convert from wcs tos ucs or back didn't try it ran out of time 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.