<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: color bylayer in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103504#M76541</link>
    <description>Maybe?

Message was edited by: Mikko</description>
    <pubDate>Mon, 29 Oct 2007 10:29:50 GMT</pubDate>
    <dc:creator>Mikko</dc:creator>
    <dc:date>2007-10-29T10:29:50Z</dc:date>
    <item>
      <title>color bylayer</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103503#M76540</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I think I have a very simple problem but i am already trying the whole evening to solve it. I try to change the color of a line to byLayer I tryed the next options:&lt;BR /&gt;
&lt;BR /&gt;
//lijn1 is an LineObject&lt;BR /&gt;
&lt;BR /&gt;
 lijn1.ColorIndex = 0;&lt;BR /&gt;
//but then the linecolor is byblock.&lt;BR /&gt;
&lt;BR /&gt;
I tried&lt;BR /&gt;
lijn1.Color = Color.FromColorIndex(ColorMethod.ByLayer, 0)&lt;BR /&gt;
//but then te linecolor is byblock.&lt;BR /&gt;
&lt;BR /&gt;
How to change the line color to bylayer??&lt;BR /&gt;
&lt;BR /&gt;
thanks</description>
      <pubDate>Sun, 28 Oct 2007 20:46:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103503#M76540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-28T20:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: color bylayer</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103504#M76541</link>
      <description>Maybe?

Message was edited by: Mikko</description>
      <pubDate>Mon, 29 Oct 2007 10:29:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103504#M76541</guid>
      <dc:creator>Mikko</dc:creator>
      <dc:date>2007-10-29T10:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: color bylayer</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103505#M76542</link>
      <description>change 0 to 256?</description>
      <pubDate>Mon, 29 Oct 2007 10:33:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103505#M76542</guid>
      <dc:creator>Mikko</dc:creator>
      <dc:date>2007-10-29T10:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: color bylayer</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103506#M76543</link>
      <description>ColorIndex = 256;&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;JOBRO888US&gt; wrote in message news:5762769@discussion.autodesk.com...&lt;BR /&gt;
Hello,&lt;BR /&gt;
&lt;BR /&gt;
I think I have a very simple problem but i am already trying the whole evening to solve it. I try to change the color of a line to byLayer I tryed the next options:&lt;BR /&gt;
&lt;BR /&gt;
//lijn1 is an LineObject&lt;BR /&gt;
&lt;BR /&gt;
 lijn1.ColorIndex = 0;&lt;BR /&gt;
//but then the linecolor is byblock.&lt;BR /&gt;
&lt;BR /&gt;
I tried&lt;BR /&gt;
lijn1.Color = Color.FromColorIndex(ColorMethod.ByLayer, 0)&lt;BR /&gt;
//but then te linecolor is byblock.&lt;BR /&gt;
&lt;BR /&gt;
How to change the line color to bylayer??&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;/JOBRO888US&gt;</description>
      <pubDate>Mon, 29 Oct 2007 12:20:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103506#M76543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-29T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: color bylayer</title>
      <link>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103507#M76544</link>
      <description>Yes off course, I thought that 256 was outside the byte-range(0-255), &lt;BR /&gt;
Ok thanks this works fine.</description>
      <pubDate>Mon, 29 Oct 2007 19:00:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/color-bylayer/m-p/2103507#M76544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-10-29T19:00:31Z</dc:date>
    </item>
  </channel>
</rss>

