PDA

View Full Version : reading xref file



salman
15th Dec 2009, 03:42 pm
I often need to perform offset of objects existing in xref drawings. for that I have to first draw line/pline etc along the
xref entity and then offset that new created line etc.
Is it possible to directly offset the xref entity instead of first creating its copy in the working drawing.
Thanks.

NBC
15th Dec 2009, 03:46 pm
you could always NCOPY the entities from the xref (no need to redraw them then) then you could use offset ?

Lee Mac
15th Dec 2009, 04:04 pm
Alan,

Quick question - what does the transformation matrix do in that code? - I've never really got to using one, (except in grvecs).

Lee

alanjt
15th Dec 2009, 04:13 pm
Alan,

Quick question - what does the transformation matrix do in that code? - I've never really got to using one, (except in grvecs).

Lee
Moves the cloned object to the correct location.

alanjt
15th Dec 2009, 04:19 pm
Entmake a nested object and you'll see that it creates it at 0,0,0. You have to use the transformation matrix to correct the placement, based on the original object's matrix.

Lee Mac
15th Dec 2009, 07:16 pm
Entmake a nested object and you'll see that it creates it at 0,0,0. You have to use the transformation matrix to correct the placement, based on the original object's matrix.

Gotcha - thanks dude :)