+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Full Member T9PMK's Avatar
    Computer Details
    T9PMK's Computer Details
    Operating System:
    Window XP Pro - Vista Business - Vista Ultimate - Windows 7
    Computer:
    Dell 755 and a high spec home build
    RAM:
    3Gig
    Monitor:
    3x 22" Dell Monitors using UltraMon
    Using
    AutoCAD LT 2010
    Join Date
    Mar 2005
    Location
    Yorkshire - UK
    Posts
    41

    Default Block or attribute counting

    Registered forum members do not see this ad.

    Hi m8s

    Is there a way of counting blocks in an Autocad 2002 LT drawing, I have several site drawings of a hospital that include car parking, I have created a vehicle symbol as a block for each of the following:

    Zone One
    Zone Two
    Zone Three
    Pay & Display
    Disabled
    HNS Vehicle

    It would be extremly useful if there was a means of calculating how many spaces I have available for each of the above groups.

    I would be glad of any help in pointing me in the right direction.

    Thanks in advance

    T9

  2. #2
    JimWebster
    Guest

    Default

    Maybe BCOUNT is what you are looking for?

    Look here http://www.hyperpics.com/tipsandtricks/tips.asp?id=58.

  3. #3
    Full Member T9PMK's Avatar
    Computer Details
    T9PMK's Computer Details
    Operating System:
    Window XP Pro - Vista Business - Vista Ultimate - Windows 7
    Computer:
    Dell 755 and a high spec home build
    RAM:
    3Gig
    Monitor:
    3x 22" Dell Monitors using UltraMon
    Using
    AutoCAD LT 2010
    Join Date
    Mar 2005
    Location
    Yorkshire - UK
    Posts
    41

    Default

    Hi

    Thanks for your reply

    I've tried entering BCOUNT on the command line, and I get an error "Unknown command "BCOUNT". Press F1 for help."

    The info on the link above says it should work 0k with v.2002 but I'm not sure if LT is included.

    It also says, BCOUNT will run as part of Express Tool, Please can you explain what these are, as I don't think I have them installed.

    Thanks

    T9

  4. #4
    Senior Member Kate M's Avatar
    Discipline
    Structural
    Using
    Revit Structure 2013
    Join Date
    Sep 2003
    Location
    Washington, DC
    Posts
    477

    Default

    Express Tools are not available with LT (part of why it's cheaper), but check out QSELECT...

  5. #5
    Full Member T9PMK's Avatar
    Computer Details
    T9PMK's Computer Details
    Operating System:
    Window XP Pro - Vista Business - Vista Ultimate - Windows 7
    Computer:
    Dell 755 and a high spec home build
    RAM:
    3Gig
    Monitor:
    3x 22" Dell Monitors using UltraMon
    Using
    AutoCAD LT 2010
    Join Date
    Mar 2005
    Location
    Yorkshire - UK
    Posts
    41

    Default

    Hi
    Thanks for your reply

    I shall give QSELECT a go on Monday when I'm back at work.

    Meanwhile - is it possible for a script to be written for counting symbols/block in 2002 TL ?

    Thanks

    T9

  6. #6
    Senior Member
    Using
    not specified
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    100

    Default

    T9,

    One way you could go:

    01. Make sure all your blocks are on their own individual layer. Generally you would make your blocks on Layer 0 so that they would inherit the characteristics of the layer into which they are inserted. In this case, I'd make the block for a car that is to go in 'Zone One' on layer 'Zone01'.

    02. When you've inserted all your cars, make one of the layers current and turn off all other layers. That should leave you with just the cars for that zone on the screen.

    03. Enter a command such as Move or Erase and select them all and you'll get a message on the command line - 'x found'.

    Here's a pretty ugly macro that you could employ. Put it onto a button called 'Zone01' and when you hit it, it will run through the above sequence (although it freezes as opposed to turning off the relevant layer). You'll find the 'x found' about 4 or 5 lines up from the command line.

    ^C^C-LA S ZONE01 F * ;ERASE ALL ^C^CUNDO 1 UNDO 1;

    Lisp would be the way to go, but if you've only got LT...
    There are 10 types of people in the world: those who understand binary and those who don't...

  7. #7
    Full Member T9PMK's Avatar
    Computer Details
    T9PMK's Computer Details
    Operating System:
    Window XP Pro - Vista Business - Vista Ultimate - Windows 7
    Computer:
    Dell 755 and a high spec home build
    RAM:
    3Gig
    Monitor:
    3x 22" Dell Monitors using UltraMon
    Using
    AutoCAD LT 2010
    Join Date
    Mar 2005
    Location
    Yorkshire - UK
    Posts
    41

    Default

    Registered forum members do not see this ad.

    Thanks Wozza and all for your replies

    I have tested QSelect in LT and it works fine, not as good as Attribute Extraction in the full version of 2002.

    The chap that manages the car parks here at the hospital only has LT and less knowledge of Autocad than me.

    Thanks Wozza for the macro.

    Regards to all

    T9

Bookmarks

Posting Permissions

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