shaneey Posted November 12, 2023 Share Posted November 12, 2023 How do I count objects in VW 2023 Quote Link to comment
0 shaneey Posted November 12, 2023 Author Share Posted November 12, 2023 How do I count objects in VW 2023 Quote Link to comment
0 Jesse Cogswell Posted November 12, 2023 Share Posted November 12, 2023 (edited) The quick and dirty way to do it would be to go to Tools - Custom Selection, select Execute Immediately then select All Objects as the criteria. There will be a counter at the bottom of the dialog box that shows the number of objects. You can check the Search Within Symbols, Plug-in Objects, and/or Viewport Annotations depending on what kind of count you are looking for. If you want something a little faster, you can create a script (Vectorscript format) with something like: AlrtDialog(Concat(Count(ALL),' objects in drawing')); for all objects on layers, but not going inside of symbols (each symbol would count as one object), plug-in objects, or viewport annotations. AlrtDialog(Concat(Count(INSYMBOL & (ALL)),' objects in drawing and symbols')); would count all objects on layers and inside symbols (each component of the symbol would be counted separately and in addition to the symbol, so a drawing consisting of 2 symbols, each with 2 rectangles would come to a count of 6 objects). For a full count of every single object, inside symbols, plug-ins, and annotations, the script would look like this: AlrtDialog(Concat(INSYMBOL & INOBJECT & INVIEWPORT & (ALL)),' total objects in drawing')); EDIT: I realize now that you weren't specific about what kind of objects you are trying to count. I usually use the Custom Selection method outlined above, just setting the criteria to match exactly what I'm trying to count and then reading the value at the bottom of the dialog box. Another method would be to make a Worksheet with a cell with the =COUNT() function and inserting the criteria within the parentheses. Edited November 12, 2023 by Jesse Cogswell 1 Quote Link to comment
Question
shaneey
How do I count objects in VW 2023
Link to comment
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.