style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">Hello
probably
very easy for the guru's
I'm trying to get a list of ALL blocks in a
drawing (including all nested ones)
I tried, for example, (setq blist
(acet-table-name-list (list "block" 1 4 16)))
but this gives me just one
entry for a specific block while it is inserted several times
I need an
entry for every single time a block is inserted, even if it is
nested
Thanks in advance
Patrick
Do a simple Data Extraction.
At the end of the data extraction wizard, you have the option to insert a table with the quantity of each block into the drawing, and/or export into an Excel spreadsheet. If you've added Lookups into your blocks, you can choose to show that information int the table as well. I use this method for my planting plans. All of my plant blocks are named with their latin name created with lookups for Key, Common Name, and Form. Inside the Data Extraction Wizard, I can sort the plants by its name or any of the look ups I've created.
I would like to find the best way of taking blocks within blocks and having just one block
After speaking with Volker from the Autodesk support, he recommended that I look at this Web page.
I am unsure about the nesting part and the previous comments. Nesting to me is a type of CAM
function, but I have a Visio document attached to this comment, which indicates what I have as an
example. What I want to achieve is to retain the test block with the geometry within a test block but
purge all blocks that would be children. There are sub blocks beneath the test block; I don’t know if
there’s a script to do that or not.
Look at post 6 from this thread. The routine proposed there will give the list of all blocks in your drawing, formatted as described in the file header. When I answered to the question I forgot to include the helper function that followed later. Load the lot and run it on your drawing.
A nested block is a block within a block, or a block within a block within a block. This nesting has nothing to do with economically placing parts on a sheet of steel for cutout.
You will have to decide what you want to do with the resulting list. A nested block definition may lose one of its definitions but the removed definition will remain available as a single block. You may want to try the inline edit command to do so. Further down the line of activities would be to PURGE the drawing, thus removing all block definitions that are not REFERENCED, nested or otherwise
Hi
I solved this problem with this code "BECOUNT"
you can see list of block's number that you select .