Author Topic: Whacked out insertion points  (Read 1771 times)

0 Members and 1 Guest are viewing this topic.

whdjr

  • Guest
Whacked out insertion points
« on: January 26, 2005, 09:01:34 AM »
I have a routine that searches a dwg for every instance of a block and inserts another block at the insertion points of the first set of blocks, then they match up attributes.  If the ucs is not set to world why does the tool insert the second set of blocks to another location not at the insertion point of the first set of blocks?  Is there a way using trans to fix this?  or maybe some other way?

SMadsen

  • Guest
Whacked out insertion points
« Reply #1 on: January 26, 2005, 09:32:31 AM »
The ins point of an INSERT is always given in WCS. Having the point in, say, insp you could do this:
(trans insp 0 1)

or you could do this:
(trans insp ent 1)

where ent is the ename of the insert.

whdjr

  • Guest
Whacked out insertion points
« Reply #2 on: January 26, 2005, 09:53:54 AM »
Thanks, I'll try that and see if that fixes my problem.

whdjr

  • Guest
Whacked out insertion points
« Reply #3 on: January 26, 2005, 11:06:06 AM »
Stig,

Works great man.:D

Thanks,