Jump to content

Recommended Posts

Posted

We are currently working on a very large master development plan submittal here at work. As part of the MDP, we are expected to deliver quantities calculations to the client.

 

I don't particularly feel like going through our entire proposed subdivision and counting up water fittings and whatnot. I am working on a dynamic block (attached in 2012 file format) that has visibility states for all of the different water fittings that we will be using for this project.

 

Is it possible to use either a lookup parameter or a block properties table to produce a quantities count, so to speak? I.e., to somehow get a count of all of the instances of this block in a particular drawing and how many instances are in what visibility state? So this table would tell you 1/32 bend: 15, 1/4 bend: 35, etc.

 

It seems like I read something a while ago about how to do this but I can't find it now.

 

Thanks!

Water Fittings Block.dwg

Posted

There are no doubt more methods, but attribute extraction works, you would need to add an attribute into your block that reads the visstate, and then you can run the ATTEXT command, it will need an extraction template file which is just a plain text file, and it asks you at a dialogue box to give the location of this file, select all the blocks (or select everything) and it outputs a list in a text file with all the blocks and what there visstate is. A program like excel can easily be set up to give you a count of everything. ATTEXT will also pull all the block information from drawings that are included in X-ref's which can be useful.

Attached is a drawing with an attribute added to the block, and a very simple extract template file (you can get a lot more info from a block if you want)

extract.txt

Water Fittings Block.dwg

Posted

Thanks! Both of these are really good. I'll have to play around a little with these.

Posted

BIGAL, I found that command after posting this yesterday and played around with it a bit. Couldn't get it to do exactly what I wanted though. I may just need to fiddle with it a bit more. Thanks!

Posted
Dataextract is another command a newer version of Attext

Not so much newer, more like available, LT users don't have it (not a problem here, I just thought I'd mention it in case any LTer's look in)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...