.NET

Reply
*Martin Langevin
Message 1 of 2 (89 Views)

Change color of new layer in 2006

89 Views, 1 Replies
05-26-2006 06:43 AM
Dim NewLayer As AcadLayer

NewLayer = acadDoc.Layers.Add("Layer1")

NewLayer.TrueColor.SetRGB(255, 0, 0)

This is my method to change color layer but is not work. The layer is
create but went I SetRGB, no error, but no change in autocad. Some body can
help me?
*tp
Message 2 of 2 (89 Views)

Re: Change color of new layer in 2006

05-26-2006 10:03 AM in reply to: *Martin Langevin
NewLayer.Color = Autodesk.AutoCAD.Colors.Color.FromRgb(255, 0, 0)




"Martin Langevin" escreveu na mensagem
news:5187189@discussion.autodesk.com...
Dim NewLayer As AcadLayer

NewLayer = acadDoc.Layers.Add("Layer1")

NewLayer.TrueColor.SetRGB(255, 0, 0)

This is my method to change color layer but is not work. The layer is
create but went I SetRGB, no error, but no change in autocad. Some body can
help me?
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.