<?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: Reactors in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144898#M28722</link>
    <description>So i think, if both entities are moved, the reactors should do nothing?

If you are move it with AutoCAD command, take a look
at the last selectionset you can get with:
acedGetCurrentSelectionSet(curSelSet)
with curSelSet.find(id, 0) you can find out if the other
object are also inselectionset.

Bernd</description>
    <pubDate>Wed, 29 Sep 2004 17:12:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-09-29T17:12:02Z</dc:date>
    <item>
      <title>Reactors</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144897#M28721</link>
      <description>Hi,

Here is my problem.
I have two entities: A and B
A is reacator of B and B is reactor of A, such as:
        A-&amp;gt;addPersistentReactor(B-&amp;gt;objectId())
        B-&amp;gt;addPersistentReactor(A-&amp;gt;objectId())

So, when I move A, B comes together and vice-versa.
The problem happens when I select both of them (A and B at the same time)
and ask to move. As a result both of them move but with the double distance
that I ask to do. What happens is the following: A moves and brings together
B. So, B moves again and brings together A, which results in the double
displacement.

Any help?
Thanks very much,

Felício.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.769 / Virus Database: 516 - Release Date: 24/9/2004</description>
      <pubDate>Tue, 28 Sep 2004 12:08:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144897#M28721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-09-28T12:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reactors</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144898#M28722</link>
      <description>So i think, if both entities are moved, the reactors should do nothing?

If you are move it with AutoCAD command, take a look
at the last selectionset you can get with:
acedGetCurrentSelectionSet(curSelSet)
with curSelSet.find(id, 0) you can find out if the other
object are also inselectionset.

Bernd</description>
      <pubDate>Wed, 29 Sep 2004 17:12:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144898#M28722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-09-29T17:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reactors</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144899#M28723</link>
      <description>Personally, I would put in timeout and transformation thresholds. So if
object B is moved 0.1 seconds after object A and both transformations are
99% identical, you know you are probably duplicating the transform. What you
do after that is up to you. :-)

"Bruno" &lt;BRUNO&gt; wrote in message
news:41595457_1@newsprd01...
&amp;gt; Hi,
&amp;gt;
&amp;gt; Here is my problem.
&amp;gt; I have two entities: A and B
&amp;gt; A is reacator of B and B is reactor of A, such as:
&amp;gt;         A-&amp;gt;addPersistentReactor(B-&amp;gt;objectId())
&amp;gt;         B-&amp;gt;addPersistentReactor(A-&amp;gt;objectId())
&amp;gt;
&amp;gt; So, when I move A, B comes together and vice-versa.
&amp;gt; The problem happens when I select both of them (A and B at the same time)
&amp;gt; and ask to move. As a result both of them move but with the double
distance
&amp;gt; that I ask to do. What happens is the following: A moves and brings
together
&amp;gt; B. So, B moves again and brings together A, which results in the double
&amp;gt; displacement.
&amp;gt;
&amp;gt; Any help?
&amp;gt; Thanks very much,
&amp;gt;
&amp;gt; Felício.
&amp;gt;
&amp;gt;
&amp;gt; ---
&amp;gt; Outgoing mail is certified Virus Free.
&amp;gt; Checked by AVG anti-virus system (http://www.grisoft.com).
&amp;gt; Version: 6.0.769 / Virus Database: 516 - Release Date: 24/9/2004
&amp;gt;
&amp;gt;&lt;/BRUNO&gt;</description>
      <pubDate>Wed, 29 Sep 2004 17:45:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/reactors/m-p/1144899#M28723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-09-29T17:45:50Z</dc:date>
    </item>
  </channel>
</rss>

