.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change color of new layer in 2006

1 REPLY 1
Reply
Message 1 of 2
Anonymous
194 Views, 1 Reply

Change color of new layer in 2006

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?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost