jawf
2004-12-18, 07:07 AM
I have quite a challenge. I am using Autocad Map and I have a fair number of drawings (6000) that I have to query together in sets. The issue is that they contain some duplicate blocks with the same names and different insertion points. This causes a shift to occur when the first definition overrides the second.
I am trying to find a way to identify which definition is in each drawing. I can find such things as insertion pt, scale, rotation, etc. What I need to determine is where is the insertion point relative to the body of the block. Some of the blocks have offset insertion pts as compared to it duplicate cousin that isn't offset.
An example is: a block that is a circle. One has an insertion point that is about 7.12 outside of the circle. The cousin is in the center of the circle. Same name. Programmatically I have read the insertion pt and then exploded the block and read the center of the circle and compared the two pts. That will work to differentiate between this simple example. Some of the blocks are a lot more complicated.
Any suggestions??
Thanks
Joe
I am trying to find a way to identify which definition is in each drawing. I can find such things as insertion pt, scale, rotation, etc. What I need to determine is where is the insertion point relative to the body of the block. Some of the blocks have offset insertion pts as compared to it duplicate cousin that isn't offset.
An example is: a block that is a circle. One has an insertion point that is about 7.12 outside of the circle. The cousin is in the center of the circle. Same name. Programmatically I have read the insertion pt and then exploded the block and read the center of the circle and compared the two pts. That will work to differentiate between this simple example. Some of the blocks are a lot more complicated.
Any suggestions??
Thanks
Joe