gmmdinesh Posted November 15, 2016 Posted November 15, 2016 Hi all... I need some help again. My project has vast area of networking type project. I Want to change the color of a specific layer in a specific area. Anyone knows how to do this. Thanks in advance Regards Dinesh P Quote
pBe Posted November 15, 2016 Posted November 15, 2016 Hi all... I Want to change the color of a specific layer in a specific area. Its not clear what you mean by "specific area", You realize that changing the color of the layer will affect the entire drawing right? unless you "fudge" the colors there is no to use two different colors for one layer. Quote
Dadgad Posted November 15, 2016 Posted November 15, 2016 How about overlaying an aligned viewport, double clicking into it to activate it, and then in the Viewport Layer Properties dialog, specifying a VP Color change? Quote
pBe Posted November 15, 2016 Posted November 15, 2016 How about overlaying an aligned viewport, and specifying a viewport color change? Nice Dadgad , Layers on viewport can accomplish what the OP needs. Good catch buddy. Quote
Dadgad Posted November 15, 2016 Posted November 15, 2016 Thanks pBe, we're all pulling oars in the same boat! The OP was online flying below the radar a couple minutes ago, seems to have logged off right after I posted that. Maybe he is checking it out. Quote
gmmdinesh Posted November 15, 2016 Author Posted November 15, 2016 Hi... Thanks for your reply.. In my project have lot numbers of lines in different layer. I want change the color of particular layer...but not in entire drawing..only in particular section. for example-:: select similar object in particular sectioned area then change the color. Quote
Dadgad Posted November 15, 2016 Posted November 15, 2016 My suggestion is not lisp based, but based on the fact that you can assign layers on the Viewport Layers Dialog to display differently than they do outside of that viewport, by using the VP Color option. In order to access this you need to be double clicked into a viewport, the colors of which you want to affect. This approach would involve creating a viewport which would define the area inside of which you wish to alter the display color. Quote
gmmdinesh Posted November 15, 2016 Author Posted November 15, 2016 Hi Dadgad.. Thanks for your suggestion...but i don't understand what you say.. can you briefly explain little more? Quote
Dadgad Posted November 15, 2016 Posted November 15, 2016 (edited) I will attach a screenshot representing the simplest case scenario. In the screenshot there are two viewports, one displays as blue, and the other displays green. The green viewport has been created by converting an Object into a viewport, which basically has an opening in it, inside of which the other viewport has been created. They both reference the same circle in modelspace, and the viewport scales are set the same, and both are locked. They are aligned in such a way that they almost appear as a single viewport, but in the smaller viewport's Layer Properties Dialog, there has been an alternate VP Color applied to Layer 0, upon which the circle is located. This means that in the larger viewport, the color displays as normal, and that in the smaller blue viewport, the layer color has been altered to display as red within the viewport, as indicated within the VP Color list on the screenshot. That should give you the basic technique that can be used, although this is definitely the easiest case of how it might be done, the approach can be used in other more complex situations, and in fact, if you wanted to make some other layers display differently in that blue viewport you could do that too. Using this technique, you could create a number of different viewports, each of which could display differently at the same time. I hope that helps you. This reminds me of a wonderful thread that I believe rkent posted a number of years ago, perhaps if rkent sees this, he will have some more input, or a link to that earlier post. It seems a little tedious when you are setting one of these up, but done well, the effect is pretty remarkable. Kudos to rkent (if I am not mistaken ?) on that original post. I decided to upload that .dwg, in case it might help you to better understand the basic concept. Nested viewport for alternate VP Color display.dwg Edited November 16, 2016 by Dadgad Quote
gmmdinesh Posted November 15, 2016 Author Posted November 15, 2016 Thank you so much for your kind information. Now, I understood. Thank You Dadgad. Quote
Dadgad Posted November 15, 2016 Posted November 15, 2016 Excellent, happy I could help you. I looked for that old rkent thread, but couldn't find it, maybe somebody else can, it was great! Quote
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.