Results 1 to 8 of 8

Thread: Count No. of Blocks

  1. #1
    I could stop if I wanted to kwong's Avatar
    Join Date
    2002-11
    Posts
    270
    Login to Give a bone
    0

    Default Count No. of Blocks

    Hi all,
    Is there a field that can be inserted in to a cell to count the number of named blocks?

  2. #2
    All AUGI, all the time CADDmanVA's Avatar
    Join Date
    2006-12
    Location
    New Orleans, LA
    Posts
    881
    Login to Give a bone
    0

    Default Re: Count No. of Blocks

    Best of luck to you on this one. I've been trying to figure out the same thing for weeks. My only suggestion is to use the block counting command, then enter the values manually.

  3. #3
    I could stop if I wanted to kwong's Avatar
    Join Date
    2002-11
    Posts
    270
    Login to Give a bone
    0

    Default Re: Count No. of Blocks

    That's how I've been doing it but I was hoping that with ACAD 2008 that would have been added, but I agree with you on that..

  4. #4
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Count No. of Blocks

    Hi

    Not a Field, but the following offers a workable solution (granted it take a little bit of setting up, but once done...).

    Count the number of Blocks in a drawing file

    Correctly calculating totals in a Table

    [thread=23876]Undocumented AutoCAD 2006 Commands - EAttExtEdit and EAttExtUpdate[/thread

    Have a good one, Mike

  5. #5
    I could stop if I wanted to kwong's Avatar
    Join Date
    2002-11
    Posts
    270
    Login to Give a bone
    0

    Default Re: Count No. of Blocks

    Thanks for the links, Mike, but it's all over my head - I think I'll stick to counting the blocks via qselect & entering the info manually.

  6. #6
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Exclamation Re: Count No. of Blocks

    Quote Originally Posted by kwong
    Hi all,
    Is there a field that can be inserted in to a cell to count the number of named blocks?
    Not a field, but you can easily create a TABLE that includes the quantity of all (or certain) named blocks in the drawing. This table is dynamic and will update when the quantities change.

    Command: ._EATTEXT
    -or-
    Command: ._DATAEXTRACTION
    Last edited by rkmcswain; 2007-08-07 at 06:08 PM.
    R.K. McSwain | CAD Panacea |

  7. #7
    All AUGI, all the time Capt. Computer Crasher's Avatar
    Join Date
    2006-12
    Location
    South of North & East of West
    Posts
    786
    Login to Give a bone
    0

    Default Re: Count No. of Blocks

    Quote Originally Posted by rkmcswain
    Not a field, but you can easily create a TABLE that includes the quantity of all (or certain) named blocks in the drawing. This table is dynamic and will update when the quantities change.

    Command: EATTEXT
    EATTEXT a.k.a attribute extractor

  8. #8
    Retired Forum Staff Chris.N's Avatar
    Join Date
    2001-12
    Location
    Rochester, MN
    Posts
    2,561
    Login to Give a bone
    0

    Default Re: Count No. of Blocks

    pre-2008 version of the data extraction needs to be done thru the wizard. there's a check box in there to calculate totals. i don't know how to add this after the fact before 2008 tables...

    like rk says, once table is created, all you need to do is refresh when modifying the source drawing.
    Sometimes, i get lost in my own thoughts and need to ask directions to find my way back.
    S&D DB Sharing Forum

Similar Threads

  1. Count visibility states of blocks
    By Wish List System in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2016-06-07, 12:57 PM
  2. Count blocks in a VB script
    By kmelchor in forum VBA/COM Interop
    Replies: 2
    Last Post: 2010-02-08, 09:27 PM
  3. Ability to count blocks
    By schrodingerscat in forum DWG TrueView - Wish List
    Replies: 0
    Last Post: 2008-10-14, 05:36 AM
  4. Replies: 1
    Last Post: 2007-01-05, 01:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •