Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vlr-command-reactor :vlr-commandended : Why doesn't it fire?

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
549 Views, 7 Replies

vlr-command-reactor :vlr-commandended : Why doesn't it fire?

I wonder why this does not fire... MDI?

 

7 REPLIES 7
Message 2 of 8
BlackBox_
in reply to: Anonymous

Command Reactors work just fine (I use them daily)... Please post your code.

 



"How we think determines what we do, and what we do determines what we get."

Message 3 of 8
Lee_Mac
in reply to: Anonymous

For which command do you believe the reactor callback function is not being evaluated?

If you believe the callback is failing for all commands, I would assert that there is an error with your code.

 

Lee

Message 4 of 8
BlackBox_
in reply to: Lee_Mac

You wear the EE badge well, Lee... Enjoy the EE lounge, perks, etc. as they are well deserved.

 

Cheers



"How we think determines what we do, and what we do determines what we get."

Message 5 of 8
Lee_Mac
in reply to: BlackBox_

Many thanks BlackBox - I was both honoured & flattered to have been nominated and subsequently invited to join the EE program - recently, I only wish that I had more time to contribute more to the forums Smiley Happy

Message 6 of 8
Anonymous
in reply to: Lee_Mac

Sorry... wrong string of code... it was the dwg reactor endDwgOpen.

 

This is what I cannot get to fire.

Message 7 of 8
BlackBox_
in reply to: Anonymous


@Lee_Mac wrote:

 

Many thanks BlackBox - I was both honoured & flattered to have been nominated and subsequently invited to join the EE program....


No, thank you - You're a great standard bearer, and have long been a force for good to this community.

@Lee_Mac wrote:

 

... I only wish that I had more time to contribute more to the forums Smiley Happy


Likewise; my new employment has left me little time to even finalize several pending app updates. 

@Anonymous wrote:

Sorry... wrong string of code... it was the dwg reactor endDwgOpen.

 

This is what I cannot get to fire.


No worries; you'll have to look closely at when a given event is raised, as compared to when your code is loaded (in order to handle the event).
It may be necessary to hook another event in order to accomplish what you're after (i.e., DocumentCreated Event, etc.); more information is needed.
Cheers


"How we think determines what we do, and what we do determines what we get."

Message 8 of 8
Lee_Mac
in reply to: Anonymous

MyCADDie wrote:

Sorry... wrong string of code... it was the dwg reactor endDwgOpen.

This is what I cannot get to fire.

 

Since you are looking to evaluate code on the enddwgopen event, I would instead suggest using the s::startup post-initialisation function, which may be defined within the acaddoc.lsp and evaluated when all drawing startup processes have completed.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost