sergiu_ciuhnenco Posted September 25, 2015 Posted September 25, 2015 (edited) few days ago I tryied some lisp files , after those lisps I got a problem , It automatically repeating _select comand "Command: _select Select objects: !previousSelection" after each comand , it begin to make me nervous :twisted:, how is it possible to stop it ???? Edited September 25, 2015 by sergiu_ciuhnenco Quote
rlx Posted September 25, 2015 Posted September 25, 2015 few days ago I tryied some lisp files , after those lisps I got a problem , It automatically repeating _select comand "Command: _select Select objects: !previousSelection" after each comand , it begin to make me nervous :twisted:, how is it possible to stop it ???? Obviously one of these lispfiles has an enter ("") to many in their routine. Disable them all and then load them one by one to see which one produces the problem. gr. Rlx Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 the problem is that I already deleted them , also forgot which one I used.. I tried to many to remember Quote
rlx Posted September 25, 2015 Posted September 25, 2015 the problem is that I already deleted them , also forgot which one I used..I tried to many to remember maybe one of them has done something to your acad.lsp? Very difficult to see from here... Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 I try to remlace it , I had a aditional copy of it , remplace it , same thing , still repeating " _select comand " Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 I am not shure but probably I try this lisp (defun c:dimobj (/ ent Minpt Maxpt cRds) (if (setq ent (car (entsel "\nSelect Something to Dimension..."))) (progn (vla-getBoundingBox (vlax-ename->vla-object ent) 'Minpt 'Maxpt) (setq cRds (mapcar 'vlax-safearray->list (list Minpt Maxpt))) [color=magenta] (command "_dimlinear" [/color] [color=magenta] (polar (cadr cRds) pi (- (caadr cRds) (caar cRds))) [/color] [color=magenta] (cadr cRds)[/color] [color=magenta] (polar (cadr cRds) (* 0.5 pi) (* 2 (getvar "DIMTXT"))))[/color] [color=magenta] (command "_dimlinear"[/color] [color=magenta] (cadr cRds)[/color] [color=magenta] (polar (cadr cRds) (* 1.5 pi) (- (cadadr cRds) (cadar cRds)))[/color] [color=magenta] (polar (cadr cRds) 0.0 (* 2 (getvar "DIMTXT")))))[/color] (princ "\n<!> No Object Selected <!>")) (princ)) http://www.cadtutor.net/forum/showthread.php?27634-Auto-dimesioning-polyline/page8 MSasu post Quote
rlx Posted September 25, 2015 Posted September 25, 2015 I try to remlace it , I had a aditional copy of it , remplace it , same thing , still repeating " _select comand " check your startup suite maybe? is there an .mnl loaded with your menu? or a arx file? I cant imagine that there would be a autocad setting to create this kind of behaviour. maybe try (getvar "cmdnames") to see what command is active?.. quite strange... Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 maybe try (getvar "cmdnames") to see what command is active?. give me "" result Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 rlx can you see in lisp , that I attached little bit higher , something strange , what can make this work wrong ? Quote
rlx Posted September 25, 2015 Posted September 25, 2015 give me "" result well your lisp routine seems to be ok , maybe your 'personal routine' has something to do whith it , check your mouse sensitivity? Quote
rlx Posted September 25, 2015 Posted September 25, 2015 what is the setting for your PICKFIRST / PICKADD variable? http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%202010%20User%20Documentation/index.html?url=WS1a9193826455f5ffa23ce210c4a30acaf-4efd.htm,topicNumber=d0e353335 Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 same options !!!! pickfirst "1" PICKADD "2" Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 I think , it will be more simple to reinstal it Quote
rlx Posted September 25, 2015 Posted September 25, 2015 But you only have the problem when running this lisp? Try to put the visual lisp editor in animation mode (pull down debug) and see what happens... gr. R. Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 The problem is always , also after shuting down the computer , Look an example I copy few lines , and what appear after finishing the comand "Command: n COPY Select objects: Specify opposite corner: 18 found Select objects: Current settings: Copy mode = Multiple Specify base point or [Displacement/mOde] : Specify second point or [Array] : Specify second point or [Array/Exit/Undo] : *Cancel* *Invalid* Command: _select Select objects: !previousSelection 18 found " ____________________ Textval "0" Quote
rlx Posted September 25, 2015 Posted September 25, 2015 try : copymode = 0 , pickadd = 1 , texteval = 1 starting to run out of idea's haha Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 I think the problem is not in "System Variables dialog box" "SYSVDLG" I have instaled also autocad 2012 I compare the variables pickadd pickfirst also other variable , 2012 work fine 2013 always repeating "_select " comand Command: COPYMODE Enter new value for COPYMODE : 0 Command: PICKADD Enter new value for PICKADD : 1 Command: TEXTEVAL Enter new value for TEXTEVAL : 1 Command: n COPY Select objects: Specify opposite corner: 4 found Select objects: Current settings: Copy mode = Multiple Specify base point or [Displacement/mOde] : Specify second point or [Array] : Specify second point or [Array/Exit/Undo] : *Cancel* *Invalid* Command: _select Select objects: !previousSelection 4 found It works but, this comand is still here Quote
rlx Posted September 25, 2015 Posted September 25, 2015 I only have 2012 here at work so i cant reproduce this strange behavier... options - selection? Quote
sergiu_ciuhnenco Posted September 25, 2015 Author Posted September 25, 2015 rlx I tried the lisp that I told you before in 2012 and it make the same thing , so the problem is in lisp I think !!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.