Author Topic: Reactor Weirdness  (Read 2275 times)

0 Members and 1 Guest are viewing this topic.

BazzaCAD

  • Guest
Reactor Weirdness
« on: June 29, 2007, 01:33:42 PM »
I recently was getting an error every time I ran the CopyClip command. I figured it had to be an error in one of my reactor callbacks, so I disabled all my command reactors. But I was still getting the error after that. So I then disabled all my reactors & found out the error was in my :vlr-SaveComplete callback. So my question is, why the heck is SaveComple being fired when the CopyClip command runs?
This was in Acad2006 I didn't test it in 2008, maybe it's been fixed.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Reactor Weirdness
« Reply #1 on: June 29, 2007, 01:43:59 PM »
The only thing I can think of is if the items that are copyclipped are being saved as a temporary drawing somewhere.  Shouldn't be too hard to test.  I will see if I can.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Reactor Weirdness
« Reply #2 on: June 29, 2007, 01:48:34 PM »
The only thing I can think of is if the items that are copyclipped are being saved as a temporary drawing somewhere.  Shouldn't be too hard to test.  I will see if I can.
Looks like that is what is happening.
Quote
Command: _copyclip
Select objects: Specify opposite corner: 5 found

Select objects:

(#<VLA-OBJECT IAcadDatabase 0993ccd4>
"C:\\DOCUME~1\\a0kcdzz\\LOCALS~1\\Temp\\A$C13C63CCC.DWG")
[/qutoe]
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

BazzaCAD

  • Guest
Re: Reactor Weirdness
« Reply #3 on: June 29, 2007, 01:53:24 PM »
Interesting, thx for the update  :-)

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Reactor Weirdness
« Reply #4 on: June 29, 2007, 01:56:38 PM »
Interesting, thx for the update  :-)
You're welcome.  And I learned something new also, didn't know acad worked this way.  I don't think it should be too hard to change your code to check if it's a copyclipped drawing being saved.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.