mmyoung Posted August 14, 2008 Share Posted August 14, 2008 Is there somewhere look in VW at how many objects are in each class or layer, without going to each one and doing a select-all? thanks Quote Link to comment
Pat Stanford Posted August 14, 2008 Share Posted August 14, 2008 How about creating a worksheet? Click in a Row Header and make it a database row. Set the Criteria to All Objects. In Column A enter a formula of =L In column B enter a formula of =Count() Select any row of the database and drag the Sum Icon to somewhere in Column A. You should now have a list of each layer in the file with the number of objects on each layer. Pat Quote Link to comment
mmyoung Posted August 15, 2008 Author Share Posted August 15, 2008 (edited) You're great, Pat. You should appear in the Resource Browser. It would be pretty handy if we had a column in the Classes and Layers Nav panes that listed stats. Cool. Thanks for the tip on rolling my own. ?M Edited August 15, 2008 by mmyoung Quote Link to comment
tafar Posted August 19, 2008 Share Posted August 19, 2008 Pat, since you're on the topic: is there a way to generate a list of all the classes and their attributes (lwt, pen & fill color etc..) in a worksheet? Quote Link to comment
Pat Stanford Posted August 19, 2008 Share Posted August 19, 2008 There is not a simple way to put the class information in a worksheet. Why do you want the class attributes in a worksheet? I could write a script that would go through and do it, but I don't see what it would be useful for. The default line weights available in VectorScript are in points. This means that when you convert to mm or mils you can't get every value, so it is possible (likely) that the line weights will not display exactly the value they actaully are set to. Colors in VS are stored as RGB (Red,Green,Blue) values. I can write that into a worksheet, but what good does it do? Similar problems come with the fills/patterns/hatches. I can get and store the values in a worksheet, but it is not in a easily human usable form. What are you trying to accomplish? Pat Quote Link to comment
tafar Posted August 19, 2008 Share Posted August 19, 2008 I'm putting together an office CAD standards binder and would like to print out all the class names with their attributes as a reference. I appreciate your help. Chris Quote Link to comment
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.