BCOUNT command and Dynamic blocks?

BCOUNT command and Dynamic blocks?

Anonymous
Not applicable
8,245 Views
10 Replies
Message 1 of 11

BCOUNT command and Dynamic blocks?

Anonymous
Not applicable

Hi,
when I use the command (BCOUNT) I can count the normal blocks. But it does not count the dynamic blocks, for instance blocks with (copy array) or (visibility). Also it does not count the blocks which produced from  (copy array).
 Is there a way to count these kinds of blocks without exploding them (as associated groups)?

Thanks

Accepted solutions (2)
8,246 Views
10 Replies
Replies (10)
Message 2 of 11

ВeekeeCZ
Consultant
Consultant
Accepted solution

Try this Lee Mac'c counter.

Message 3 of 11

Anonymous
Not applicable

Thanks for your fast response.
Does that mean that , there is no method within the AutoCad to do this job, and we have to use extra application to help us?

0 Likes
Message 4 of 11

АлексЮстасу
Advisor
Advisor

BCOUNT - extra application, Express Tools.


-- Alexander, private person, pacifist, english only with translator 🙂 --

Object-modeling _ odclass-odedit.com _ Help

0 Likes
Message 5 of 11

braudpat
Mentor
Mentor
Accepted solution

 

Hello

 

Maybe you can try this BCOUNT routine from "alanjt_" :

http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/looking-for-a-lisp-routine-to-select-...

 

Regards, Patrice

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 6 of 11

Jason.Piercey
Advisor
Advisor

The DATAEXTRACTION command should be able to help.  Far more cumbersome than the simple BCOUNT, but should work.

Message 7 of 11

Victoria.Studley
Autodesk
Autodesk

Hi @Anonymous,

 

Thank you for posting your question here in the community.

 

As other members have suggested, the closest you can get here is using Data Extraction within AutoCAD, or customizing the program with a script or routine to accomplish what you're trying to do. You might check out this other ongoing thread as well (similar request with similar suggestions).


Victoria Studley
Principal Experience Designer - Fusion Configurations
Join us in the Fusion Insider Program
Fusion Learn & Support | Fusion Documentation
Message 8 of 11

Anonymous
Not applicable
Is there a command similar to "DataExtraction" that I can just select a closed polyline containing the objects I want counted? I like the "DataExtraction" command because of the report it generates, but I want to just select the polyline.
0 Likes
Message 9 of 11

braudpat
Mentor
Mentor
Hello

Do you want a BCOUNT routine able to accept a closed Pline for selection ?

Regards, Patrice
Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 10 of 11

Anonymous
Not applicable

Yes, that'd be perfect. 🙂

0 Likes
Message 11 of 11

braudpat
Mentor
Mentor

 

Hello from France

 

SORRY I am very late !

 

1) Please find attached a beautiful french routine from Gilles (gile) which give you many new selection tools

Please load the Lisp routine with APPLOAD <Enter>

 

I have translated a little bit the routine ... I am using this Tool EVERY day !

 

2) So first with a PLine or a Circle or an Ellipse then with SSOC or SSOF commands, you can select objects which are "into" the object (PLine, Circle, Ellipse) and then you launch the BCOUNT routine (from Alan J. Thompson) and give the P (Previous) option at the selection prompt ...

http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/looking-for-a-lisp-routine-to-select-...

 

I hope this tool will help you !?

 

Thanks to Gilles, Regards, Patrice

 

;;;
;;; ---- Commandes disponibles (Available Commands) ----
;;;
;;; ssc (suivant la couleur) - Selection by Color = SSC
;;; ssl (suivant le calque) - Selection by Layer = SSL
;;; sse (suivant le type d'entite) - Selection by Entity Type = SSE
;;; sstl (suivant le type de ligne) - Selection by LineType = SSTL
;;;
;;; ssatt (suivant la valeur d'un attribut) - Selection by Attribute Value = SSATT
;;;
;;; sscu (fenetre parallele au SCU) - Objects paralell to SCU = SSCU
;;;
;;; ssof (fenetre definie par un objet) - SSOF = Select from an object + Standard Windows (Left to Right)
;;; ssoc (capture definie par un objet) - SSOC = Select from an object + Capturing Windows (Right to Left)
;;; Object = PLine or Circle or Ellipse

;;;
;;; inv_sel (inverser la selection) - Invert the Selection = INV_SEL
;;;
;;; ssd (suivant les valeurs de parametres de blocs dynamiques) - Select from Dynamic Parameters = SSD
;;;

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes