Jump to content

attribute in realtion to current ucs


Recommended Posts

Posted

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!

Posted

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.

Posted

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?].

Posted

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.

Posted

found it !

 

Trans is a lips function to convert from wcs tos ucs or back

 

didn't try it ran out of time

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...