OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Emiliano on September 15, 2012, 09:14:44 AM

Title: Exception in the command ARX DCL_FORM_ISACTIVE
Post by: Emiliano on September 15, 2012, 09:14:44 AM
Hello to all,
I have a problem with OpenDCL and the use of reactor ": vlr-documentToBeActivated".

Initially, considering that there not is a problem related to OpenDCL I wrote in another forum:
http://www.theswamp.org/index.php?topic=42757.0

I hope some of you will take a commitment to read the discussion ....
It would be impossible for me to rewrite the whole discussion here   :-\
In practice it seems that the dwg drawing is active but no Palettes of OpenDCL and then an exception is thrown (see attached picture) on the following line:

(if (dcl_Form_IsActive NomeApp_Form_FormPrinc)
  (progn
     ......
  )
)


Can you help me understand what is happening and how to fix it?
There are many days that I work on this problem  :'(

Title: Re: Exception in the command ARX DCL_FORM_ISACTIVE
Post by: Emiliano on September 15, 2012, 09:28:42 AM
I am very very very stupid!!! :'( :'( :'(
I have to write at least 100 times!

After days of trying I realized I had the solution in front of my eyes, looked for days and I have not ever seen :o

The palettes OpenDCL have the event "OnDocActivated" that does exactly what I want, it works fine and without reactors: a single line of code!!

Forgive me for all my previous posts and for the time that I did lose :-[
Title: Re: Exception in the command ARX DCL_FORM_ISACTIVE
Post by: Fred Tomke on September 16, 2012, 12:26:05 AM
Hi, I'm convinced that you are not stupid - otherwise you wouldn't get the OnDocActivated-solution by your own.  ;)

Regards, Fred