seetzer7 Posted November 6, 2012 Posted November 6, 2012 (edited) I have recently started working with the german version of AutoCAD 2012 and the "previous" command doesn't seem to work right. When I use the command it selects my previous selection and then asks me to select more objects and when I press enter it cancels the command all together. Here is the code from the macro: $M=$(if,$(getvar,cmdactive),,_select;)_p Wondering if someone can either tell me how to fix it or send me the correct code so I can once again use this very practical resource. Edited November 7, 2012 by SLW210 Added CODE TAGS!! Quote
Dadgad Posted November 7, 2012 Posted November 7, 2012 Welcome to CADTutor. Why not just use the SPACEBAR or ENTER to repeat the last command? The behavior you describe is how mine works too, P recalls the previous selection set, and I use it all the time. Or you can right click, and the previous command should be right there at the top of the right click shortcut menu. Quote
SLW210 Posted November 7, 2012 Posted November 7, 2012 seetzer7, Please read the CODE POSTING GUIDELINES and use Code Tags in the future, I fixed your code this time to remove the emoticon. Quote
seetzer7 Posted November 8, 2012 Author Posted November 8, 2012 The problem is not that I need to repeat the last command it is that the command 'previous' will not hold my previous selection so that I can continue working with it. Before, when I would use this command, it would select my previous selection of lines and then I could choose a command and continue working, but now the command previous stays open and wants me to choose more objects and when I hit enter I lose my selection and therefore have to re-select everything individually if I want to work with my previous selection again. Quote
JGA Posted November 12, 2012 Posted November 12, 2012 I think you need to insert a command between select & previous, i.e. ^C^C_select;\_move;_p;;\\_rotate;_p;;@;_ref;@;\\ Quote
seetzer7 Posted November 12, 2012 Author Posted November 12, 2012 pickadd = 2 the posted code doesn't quite do what I want. I want it to simply select my previous set of lines automatically. I shouldn't have to pick them myself. Then I will choose what command I want. I don't want to select a set of lines and repeat the previous command, I just want to have my previous set of lines automatically selected for me. Quote
SLW210 Posted November 12, 2012 Posted November 12, 2012 Works fine here on the English version, it is just a default code for Select Previous. Quote
seetzer7 Posted November 12, 2012 Author Posted November 12, 2012 What is the code though? Cause mine just doesn't work right... Quote
SLW210 Posted November 12, 2012 Posted November 12, 2012 Here is the one for 2011 English version.. $M=$(if,$(getvar,cmdactive),,_select;)_p Quote
YZ Posted November 18, 2012 Posted November 18, 2012 pickadd = 2 the posted code doesn't quite do what I want. I want it to simply select my previous set of lines automatically. I shouldn't have to pick them myself. Then I will choose what command I want. I don't want to select a set of lines and repeat the previous command, I just want to have my previous set of lines automatically selected for me. If I understand you correctly then this is what I use for that same circumstance: SELECT;PREVIOUS;; It can be used on its own to quickly make the previous lines part of a new active selection: ^C^CSELECT;PREVIOUS;; Or I also use it frequenty inside macros where I want to keep the selection active so I can keep working on those objects: ^C^CJUSTIFYTEXT;TL;SELECT;PREVIOUS;; 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.