Jump to content

Count Pixel in layer


dynamo53

Recommended Posts

Good Morning.

 

i have a question and hope that somebody know a solution.

 

Example:

I create 3 different layer.

Layer A

Layer B

Layer C

 

Layer C includes for example overhead lines (3D) and now i want to know how many Pixels are in Layer C. Later i want to compare the Pixels from Layer C with the total Pixels in the drawing.

 

Does anybody understand my problem and can help me?

Thanks a lot and a nice day to everybody.

Link to comment
Share on other sites

I don't.

 

Why would it be necessary to know the number of pixels in a layer and in an entire drawing? What is it that you are trying to accomplish?

 

BTW...there are pixel-per-inch calculators online but they tend to be used by people who want to measure the resolution of a screen.

Link to comment
Share on other sites

@ReMark;

 

Thank you for your answer.

 

At the end i want to make a visibility consideration of different overhead line - configurations. I create different parts of cities with tramways and catenary systems. Then i vary different types of catenary systems and want to calculate the visibility (count the pixels because only the caternary system change, the background doesn´t). So i can appraise the different configurations.

 

I hope you understand. My englisch isnt that good.

Link to comment
Share on other sites

@ReMark: No Problem, thank you :)

 

@SLW210: This is also possible. Each component have its own volumina. I think its no Problem to calculate the volumina of every component.

Maybe it will be a good Idea to create a script which calculate the volumina of layer "catenary system". But i´m actually not good in things like this.

Learned AutoCad just 3 Monaths ago.

 

Do you have an good idea to calculate the volumina of each components in one layer?

Link to comment
Share on other sites

Do you mean pline width ? You can have very small difference 2.00 2.01 2.02 etc Another that may be useful is Thckness you can assign a different value to objects, but they will all print same width but you can compare them.

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...