<?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: layer state reactor in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000598#M31073</link>
    <description>I know this is a really old posting but I thought I'd share that there&lt;BR /&gt;
are now reactors for layer states in 2008.  The class is&lt;BR /&gt;
AcDbLayerStateManagerReactor and it has the following methods:&lt;BR /&gt;
&lt;BR /&gt;
  abortLayerStateDelete  &lt;BR /&gt;
  abortLayerStateRename  &lt;BR /&gt;
  abortLayerStateRestore  &lt;BR /&gt;
  layerStateCompareFailed  &lt;BR /&gt;
  layerStateCreated  &lt;BR /&gt;
  layerStateDeleted  &lt;BR /&gt;
  layerStateRenamed  &lt;BR /&gt;
  layerStateRestored  &lt;BR /&gt;
  layerStateToBeDeleted  &lt;BR /&gt;
  layerStateToBeRenamed  &lt;BR /&gt;
  layerStateToBeRestored  &lt;BR /&gt;
&lt;BR /&gt;
Just FYI.&lt;BR /&gt;
&lt;BR /&gt;
On Thu, 8 Apr 2004 15:57:40 +0000, MiChaeL &lt;MCL_Z&gt; wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;is there a reactor for layer state?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MCL_Z&gt;</description>
    <pubDate>Fri, 30 Mar 2007 15:00:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-03-30T15:00:30Z</dc:date>
    <item>
      <title>layer state reactor</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000596#M31071</link>
      <description>Hi,
is there a reactor for layer state?

Thanks</description>
      <pubDate>Thu, 08 Apr 2004 15:57:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000596#M31071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T15:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: layer state reactor</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000597#M31072</link>
      <description>You could use a database reactor and a list of layers and their states that
you store in CDocData.  When a drawing is first opened, you store the
current states of all the layers into the list in your doc data.  Use the
AcDbDatabaseReactor::objectModified( ) notification, and check to see if the
object being modified is an AcDbLayerTableRecord.  If it is, check it's
current state vs. the one you have stored.  If they differ, then the user
just changed it.  Don't forget to update your list when the state changes.

-Rich


"MiChaeL" &lt;MCL_Z&gt; wrote in message news:40757a69$1_2@newsprd01...
&amp;gt; Hi,
&amp;gt; is there a reactor for layer state?
&amp;gt;
&amp;gt; Thanks
&amp;gt;
&amp;gt;&lt;/MCL_Z&gt;</description>
      <pubDate>Thu, 08 Apr 2004 19:38:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000597#M31072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-04-08T19:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: layer state reactor</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000598#M31073</link>
      <description>I know this is a really old posting but I thought I'd share that there&lt;BR /&gt;
are now reactors for layer states in 2008.  The class is&lt;BR /&gt;
AcDbLayerStateManagerReactor and it has the following methods:&lt;BR /&gt;
&lt;BR /&gt;
  abortLayerStateDelete  &lt;BR /&gt;
  abortLayerStateRename  &lt;BR /&gt;
  abortLayerStateRestore  &lt;BR /&gt;
  layerStateCompareFailed  &lt;BR /&gt;
  layerStateCreated  &lt;BR /&gt;
  layerStateDeleted  &lt;BR /&gt;
  layerStateRenamed  &lt;BR /&gt;
  layerStateRestored  &lt;BR /&gt;
  layerStateToBeDeleted  &lt;BR /&gt;
  layerStateToBeRenamed  &lt;BR /&gt;
  layerStateToBeRestored  &lt;BR /&gt;
&lt;BR /&gt;
Just FYI.&lt;BR /&gt;
&lt;BR /&gt;
On Thu, 8 Apr 2004 15:57:40 +0000, MiChaeL &lt;MCL_Z&gt; wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;is there a reactor for layer state?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MCL_Z&gt;</description>
      <pubDate>Fri, 30 Mar 2007 15:00:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000598#M31073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-30T15:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: layer state reactor</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000599#M31074</link>
      <description>Tom,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the info!  This will come in handy.&lt;BR /&gt;
&lt;BR /&gt;
Are you still planning on teaching some classes this fall at AU?  If so, I &lt;BR /&gt;
would be available to help you out in anyway you need like writing some &lt;BR /&gt;
samples or giving ideas on classes.  Drop me a note if you're interested ... &lt;BR /&gt;
jetskier_orl  at  yahoo  dot  com.&lt;BR /&gt;
&lt;BR /&gt;
Joe Augustino&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tom Stoeckel" &lt;TOM.STOECKEL&gt; wrote in message &lt;BR /&gt;
news:5536422@discussion.autodesk.com...&lt;BR /&gt;
I know this is a really old posting but I thought I'd share that there&lt;BR /&gt;
are now reactors for layer states in 2008.  The class is&lt;BR /&gt;
AcDbLayerStateManagerReactor and it has the following methods:&lt;BR /&gt;
&lt;BR /&gt;
  abortLayerStateDelete&lt;BR /&gt;
  abortLayerStateRename&lt;BR /&gt;
  abortLayerStateRestore&lt;BR /&gt;
  layerStateCompareFailed&lt;BR /&gt;
  layerStateCreated&lt;BR /&gt;
  layerStateDeleted&lt;BR /&gt;
  layerStateRenamed&lt;BR /&gt;
  layerStateRestored&lt;BR /&gt;
  layerStateToBeDeleted&lt;BR /&gt;
  layerStateToBeRenamed&lt;BR /&gt;
  layerStateToBeRestored&lt;BR /&gt;
&lt;BR /&gt;
Just FYI.&lt;BR /&gt;
&lt;BR /&gt;
On Thu, 8 Apr 2004 15:57:40 +0000, MiChaeL &lt;MCL_Z&gt; wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;Hi,&lt;BR /&gt;
&amp;gt;is there a reactor for layer state?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;Thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MCL_Z&gt;&lt;/TOM.STOECKEL&gt;</description>
      <pubDate>Mon, 02 Apr 2007 21:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/layer-state-reactor/m-p/1000599#M31074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-02T21:18:01Z</dc:date>
    </item>
  </channel>
</rss>

