Counting Objects

Counting Objects

Anonymous
Not applicable
1,495 Views
10 Replies
Message 1 of 11

Counting Objects

Anonymous
Not applicable

Okay so I know very little about the program so bare with me. I'm trying to find a way to count a specific object in a given area. What I'd like to do essentially is drag my cursor over a certain area of the drawing and have filters in place that will select the specific objects I'm after, and thus get me a count. For example I'm getting module counts for a PV solar system project my company is doing, I want to make groups of 38 modules so that I can string them together. The picture I've added is a screen shot with the specific object, but I'd like to quickly count without having to click them individually. Any help would be so greatly appreciated.Screen Shot 2019-03-12 at 10.36.08 AM.png. The object selected represents the solar module.  

0 Likes
Accepted solutions (2)
1,496 Views
10 Replies
Replies (10)
Message 2 of 11

pendean
Community Legend
Community Legend
Are you trying to count a actual BLOCK(s) object type, or are these just random lines/plines/whatever placed adjacent each other to represent an object?
0 Likes
Message 3 of 11

Anonymous
Not applicable

You may have to forgive my lack of understanding but as far as I understand BLOCK(s). I could be wrong on that though, because in the properties it says Polyline? Each "solar panel" is a separate rectangle from the next. There are also the small rectangles in the corners that are also individual and separate from the main rectangles, those are signifying rubber pads on the jobsite. 

0 Likes
Message 4 of 11

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi Mason,

Look at QSELECT command:
https://help.autodesk.com/view/ACDMAC/2019/ENU/index.html?guid=GUID-8961AC47-78A3-4BA9-80A7-92FD1DFE...
You can create intelligent filters with this command and dynamically see how many objects of filtered type are selected (at the bottom of Quick Select window).

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 5 of 11

Anonymous
Not applicable

Clarifying, they are polyline rectangles. Not blocks. There is a difference right?

0 Likes
Message 6 of 11

Anonymous
Not applicable

Thanks for the quick reply. 

 

I've tried the route of quick select but I haven't be able to get it to differentiate between the larger rectangles that I'm trying to count and the smaller rectangles that are place in the corners. I'm thinking its because the properties are the same perhaps? Is there a solution for that?

0 Likes
Message 7 of 11

maxim_k
Consultant
Consultant
Accepted solution

Here are some examples:2019-03-12_20-50-56.png

2019-03-12_20-54-57.png

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 8 of 11

Anonymous
Not applicable

Okay I think I'll be able to figure it out from that. Thank you very much!

0 Likes
Message 9 of 11

maxim_k
Consultant
Consultant
Try to use Length as difference

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 10 of 11

pendean
Community Legend
Community Legend
Accepted solution
You wrote: >>>...I'm trying to find a way to count a specific object in a given area...<<<

So the problem with just having random objects pushed together is what do you count, the text, the PLINE, or the small rectangles everywhere. Is that all you want to do, is count these random objects in an area an hope you can figure out which is a "module" from the numbers? Help us help you, what in your drawing is considered "module" (singular) that you can reliably ask the program to count.

A block is a cluster of objects combined together permanent, that this new singular object is them assigned a name (here that would be MODULE for example). Now you can ask AutoCAD to QSELECT only objects called MODULE in an area an it will tell you exactly how many you have. This might be way more beneficial to you since now your drawing has some smarts / intelligence built in, instead of just being a paperless version of a paper drawing with bunches of lines and text everywhere.

Does that make more sense? Worth exploring for your future drawings IMHO.

HTH

0 Likes
Message 11 of 11

Anonymous
Not applicable

Hey so what I did to solve this was use the QSELECT, then filter out the objects I was trying to count by length. Once I had then selected I moved them to their own layer, turned all of the other layers off and then was able to group them into the quantities I needed. I had to use a range for the length because each of the objects I was wanting were around a tenth different from one another. Problem Solved though

0 Likes