Jump to content

number of objects on layers, in classes?


Recommended Posts

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

Link to comment

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...