Author Topic: How to get list of block inserts occurs in drawing (also nested) ?  (Read 2165 times)

0 Members and 1 Guest are viewing this topic.

kruuger

  • Swamp Rat
  • Posts: 635
hello there,

Is there any way get list (ename or VLA) of all blocks inserted in drawing (even nested).
my goal is to find all blocks which are on unprintable layer and highlight them.
any trick to highlight nested block ? maybe draw circle, rectangle around them ?

thanks,
kruuger

ElpanovEvgeniy

  • Water Moccasin
  • Posts: 1569
  • Moscow (Russia)
Re: How to get list of block inserts occurs in drawing (also nested) ?
« Reply #1 on: August 29, 2011, 04:32:29 PM »
In nested blocks, there is no entry in the drawing (insertion)! They are only in the table describing the blocks.

kruuger

  • Swamp Rat
  • Posts: 635
Re: How to get list of block inserts occurs in drawing (also nested) ?
« Reply #2 on: August 29, 2011, 04:59:18 PM »
In nested blocks, there is no entry in the drawing (insertion)! They are only in the table describing the blocks.
thanks Evgeniy for interesting.
i'm trying with gile routine:
http://www.theswamp.org/index.php?topic=37186.msg421723#msg421723
it seems to work but only with block nested 1 level  :-(

kruuger

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: How to get list of block inserts occurs in drawing (also nested) ?
« Reply #3 on: August 29, 2011, 05:24:13 PM »
Quote
i'm trying with gile routine:
http://www.theswamp.org/index.php?topic=37186.msg421723#msg421723
it seems to work but only with block nested 1 level

It works as expected for me according to what said Evegeniy.
Block references are inserted in block records such as model or paper spaces or block definitions.
If block A is inserted in block B and block B is inserted 3 times in model space that means: 3 references of bloc B in model space but only one reference of bloc A in block B.
Speaking English as a French Frog