Count number of objects from ON and UNFROZEN layers only

Discussion in 'AutoCAD' started by shubhada31, Jul 24, 2003.

  1. shubhada31

    shubhada31 Guest

    Hi All ,

    How can I count number of objects on
    On layers which are ON and NOT FROZEN ...
    I want to exclude the count on FROZEN and OFF layers

    if I say ....

    For index =0 to acadDoc.Blocks.count -1
    obCoun t= acadDoc.Blocks(index).count
    Next index

    it gives me count of all objects does not exclude objects on Frozen and OFF layers ..
    Can any body help me ???
    Any hep ...discussion is welcome...
    Thanks in anticipation !!!

    shubhz
     
    shubhada31, Jul 24, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.