I think this counts it automatically.... you don't even need a block to have an Attribute. Are you using the wizard?
Registered forum members do not see this ad.
Hi,
I previously posted about creating parts lists in LT 2006 and was advised to use the attext command. Having finally worked out how to add/edit attributes and extract them to excel I still cannot get a block count for the list.
I thought it would be the BL:Number attritubte tag but it only puts numbers on the list.
So once again, is there a way to count quantities of blocks using ATTEXT and include the quantity with attribute information.
thanks,
I think this counts it automatically.... you don't even need a block to have an Attribute. Are you using the wizard?
Tannar Frampton | Venture Mechanical - Dallas, TX
Engineering/Construction department | AutoCAD MEP 2010 / Revit MEP 2010
I dont think 2006LT has the wizard, its not in the wizards menu
i type attext in the command line and use a template .txt file i have created.
ah, that's probably the case then... I haven't ever tried it on LT before, but I have heard there are limitations.![]()
Tannar Frampton | Venture Mechanical - Dallas, TX
Engineering/Construction department | AutoCAD MEP 2010 / Revit MEP 2010
I've been pretty sucessful up to a point, it is only when using the ttext command and I need to select objects, I select the block I want and the file only shows the attributes I've listed and not the number of blocks in the drawing.
I've tried to fudge it by clicking select objects then using the quick select tool to select all of the blocks but it doesnt work, anyone know a way around this?
I've come up with a solution, albeit not a very elegant one
so for those with LT wanting to make parts lists here you go
create a template file along these lines
NAME C040000
MATERIAL C030000
HEIGHT N008002
WIDTH N008002
LENGTH N008002
MANUFACTURER C040000
QUANTITY N008002
create attribute tags with these fields for your blocks
under quantity put 1, unless you have several blocks within a larger block then i would just reference one of them and change the quantity
now when exporting choose .csv as the output file, rename the resulting .txt file as .csv and open with excel
in Excel click the A/Z arrow which arranges everything alphabetically
sum all similarly named entries
and you have a parts list yay
seems more work than its worth, but its what the boss wanted
thoughts?
The BCOUNT command will list the number of blocks by block name - I don't know that it will give you any attribute information. But I found out about this command from "Michael's Corner" in this website. (This is a great newsletter, by the way.) The information about this command is found in 'The Odd Spot' section of the May 2004 newsletter. The routine counts the number of block references and creates a table with the name of each block and the quantity of each block within the selection area.
Did you hear about the drafter who died? He couldn't draw his breath.
Tannar Frampton | Venture Mechanical - Dallas, TX
Engineering/Construction department | AutoCAD MEP 2010 / Revit MEP 2010
Aw, shucks!
Did you hear about the drafter who died? He couldn't draw his breath.



you should be able to use the filter command...add the block name to the list, hit apply, type in "all" (to select every thing) hit enter and in the command line there will be an entry of "## found " (although you may need to scroll back to see it)...
Bookmarks