| Author |
Message |
youngman
Guest
|
Posted:
Mon Mar 21, 2005 2:37 pm Post subject:
how to differ two lines in color |
|
|
hi,
i want to differ two lines in color,
but when the settings are all bylayer, the color values of the two lines are
all 256,
(in fact their colors are different.)
what should i do.
thanks
|
|
| Back to top |
|
 |
Joe Sutphin
Guest
|
Posted:
Mon Mar 21, 2005 7:16 pm Post subject:
Re: how to differ two lines in color |
|
|
That would imply there layers are different? Is this the case?
If you'll want to change the color of the Layer object and not the entity.
Joe
--
"youngman" <youngmanca@hotmail.com> wrote in message
news:423e95ed_1@newsprd01...
| Quote: | hi,
i want to differ two lines in color,
but when the settings are all bylayer, the color values of the two lines
are
all 256,
(in fact their colors are different.)
what should i do.
thanks
|
|
|
| Back to top |
|
 |
oops
Guest
|
Posted:
Mon Mar 21, 2005 11:11 pm Post subject:
Re: how to differ two lines in color |
|
|
if the color is bylayer, you have to look at the color of the layer
if yourline.Color = acByLayer then
msgbox ThisDrawing.Layers(yourline.Layer).Color
else
msgbox yourline.Color
end if
|
|
| Back to top |
|
 |
youngman
Guest
|
Posted:
Tue Mar 22, 2005 5:29 am Post subject:
Re: how to differ two lines in color |
|
|
Thanks for your advice.
this helped me.
thank
"oops" <no@spam> wrote in message news:423f0e5c$1_1@newsprd01...
| Quote: | if the color is bylayer, you have to look at the color of the layer
if yourline.Color = acByLayer then
msgbox ThisDrawing.Layers(yourline.Layer).Color
else
msgbox yourline.Color
end if
|
|
|
| Back to top |
|
 |
|
|
|
|