Re-associating Block attribute fields with selected block

Re-associating Block attribute fields with selected block

patrick_johannes96EREGF
Explorer Explorer
160 Views
1 Reply
Message 1 of 2

Re-associating Block attribute fields with selected block

patrick_johannes96EREGF
Explorer
Explorer

Hi All,

 

I'm looking to see if a lisp routine that allows you to select a block you want to update the attributes of and then select the source block for it to read the information from.

 

I have currently been working on a block that contains information for a manhole (Block 1),

patrick_joha_0-1694517511870.png

and then another block which reads the attributes in the block 1 and updates the block in the table (Block 2).

patrick_joha_1-1694517539116.png

At the moment when i copy both Block 1 & 2 at the same time and update the information in block 1 the information in block 2 will update. The issue comes when you copy block 1 independently of block 2 and they are no longer linked.

 

is a lisp the right way to fix this issue or is there another method to link the information between the two blocks?

 

I have attached the dwg with the blocks in, the  blocks at the bottom are not linked.

 

Thanks in advance!

0 Likes
161 Views
1 Reply
Reply (1)
Message 2 of 2

ВeekeeCZ
Consultant
Consultant

Agree that this method of maintaining a pair of blocks is very cumbersome.


Personally, I would rather create a routine that selects a group of blocks 1, and creates a table 2.

The question is probably up to you as to how much of a benefit it is to have that linked by field. Think about what types of editing you do, how often, whether there is some benefit. From my point of view, I would simply delete the original table and create a new one within 5 seconds.

0 Likes