editing attriobutes from a block within a block

editing attriobutes from a block within a block

Anonymous
Not applicable
244 Views
2 Replies
Message 1 of 3

editing attriobutes from a block within a block

Anonymous
Not applicable
I have a block on my drawing called WT_INFO. within that block there is another block "sdwot" . Is there any way to get the attributes of sdwot without explding the WT_INFO block first? thanks in advance
0 Likes
245 Views
2 Replies
Replies (2)
Message 2 of 3

arcticad
Advisor
Advisor
The most you could do is get the blocks definition and get the tag and default values.
I've had to explode the block to dig down into the block further.

insert sudo code here:

explode block
get attributes of exploded blocks
check if on locked layer
if so unlock layer
delete exploded contents
lock layer
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 3 of 3

Anonymous
Not applicable
Yes. Since you have a nested block, the top-level block insertion (WT_INFO)
doesn't really matter. You need to go look at the WT_INFO *block* object,
not the block *reference* object.

--
R. Robert Bell


wrote in message news:5320009@discussion.autodesk.com...
I have a block on my drawing called WT_INFO. within that block there is
another block "sdwot" . Is there any way to get the attributes of sdwot
without explding the WT_INFO block first? thanks in advance
0 Likes