Search the Community
Showing results for tags 'reactors'.
Found 6 results
-
I am struggling to put all the pieces together when it comes to using reactors and I was wondering if someone could write me a "simple" (in the sense of being minimal) program that I can study and expand to my fit my needs. In the drawing I've attached, I would need to COPY, MOVE, DELETE, and UNDO any geometry I bring into the staging area. However, the only thing important to me to understanding this is applying those reactors to the threaded hole marked E and propagating them to Plates A & B. I apologize if I am forgetting any needed information and would greatly appreciate any help you can provide. reactor-help.dxf
-
Lisp Reactor to Detect Changing Drawing Tabs
ColinHolloway posted a topic in AutoLISP, Visual LISP & DCL
Hi All, I am experimenting with contextual ribbon menus based on some drawing properties and I am trying to find if it is possible to setup a reactor that will detect when you change drawings either using Switch Windows or clicking on the drawing tab. Any and all input on this issue greatly appreciated :-) Colin Holloway Brisbane, Queensland, Australia. -
Is there anyway to check to see if the user has inputted into the command line and using a lisp, to tell that as soon as the user has pressed esc to not only cancel the command but to also set quantities?
-
How do I have a command causes a function to
WPerciful posted a topic in AutoLISP, Visual LISP & DCL
I wrote a sub-routine to update drawing borders. There is a command in CADWorx called IGO which creates isometric drawings. I wanted have this command call my function which updates the borders. But my code doesn't work. (defun c:igo ( / ) (setvar "cmdecho" 0) (command "igo") (setvar "cmdecho" 1) (runisoborderupdate) (princ) ) -
Hi everyone, I'm making quantity tables from entities in a drawing and I need to add "flagging system" which will alert the user when any kind of modification has been made in a specific layer (I'm talking about the content of the layer = entities, not layer definitions like color and so). I've already looked for many solutions, but it seems that the way to go is to add a reactor to a layer (or to each layer ???) I just started AutoLisp and I'm not feeling ready to dive into reactors w/o being crushed Theoretically I need something like ("myreactor" "catchanychangetocontent" "LayerName") -> return T if there's been a change (like a new entity etc etc) I really need help on this one, Tks !
- 5 replies
-
- layer dependent
- layer
-
(and 2 more)
Tagged with:
-
I thinking about dabbling more into Reactors but before I plunge too deep I was wondering if someone would be able to clarify a few things for me. To help explain I will setup an example. I have a reactor set to a line, whenever the line is modified it modifies the two lines offset on each side. With that said I would also like to have the reactor set to be persistent so when i open the drawing the next day I can still have the reactor working. I can have it do that no problem, the problem is that is the callback isn't loaded it gives warnings every time the line is modified. So I guess the question really is, is it possible to have these warnings disabled so if I make this "magic" line then someone else opens the drawing it doesn't "slow" them down with all the warnings.:wink: Sorry for the little novella. Thanks in advance for any assistance.