joopvz Posted May 20, 2014 Share Posted May 20, 2014 Hi, In Acad 2103 and lower I used a custum made button with the macro: ^C^Cselect;au;\_.change;P;LA;00_AANZ-50;LT;CONTINUOUS;COLOR;BYLAYER;; After clicking the button I could select the objects wich I wanted to change. After an enter the macro executed the changes wrote in the macro. Now in Acad 2014 it doen't work anymore. I think that the "au" command is not working in acad 2104. Does anyone have a solution?? When I executed this macro ^C^Cselect;au;\_.change;P;LA;00_AANZ-50;LT;CONTINUOUS;COLOR;BYLAYER;; in acad 2103 I had the following textwindow: Command: select Select objects: au Select objects: 1 found Select objects: Command: _.change 1 found Specify change point or [Properties]: P Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness/TRansparency/Material/Annotative]: LA Enter new layer name : 00_TEKST-50(1-5) Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness/TRansparency/Material/Annotative]: CO New color [Truecolor/COlorbook] : BYLAYER Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness/TRansparency/Material/Annotative]: When I use this macro ^C^Cselect;au;\_.change;P;LA;00_AANZ-50;LT;CONTINUOUS;COLOR;BYLAYER;; in acad 2104 I have the next text: Command: select Select objects: au Select objects: 1 found Select objects: Command: _.change Select objects: P 1 found Select objects: LA 1 found, 2 total Select objects: 00_AANZ-50 *Invalid selection* Expects a point or Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/Add/Remove/Multiple/Previous/Undo/AUto/Single Gr. Joopvz Quote Link to comment Share on other sites More sharing options...
MSasu Posted May 20, 2014 Share Posted May 20, 2014 Seems that your selection cycle isn't finished; just a guess, but try to add another to end it: ^C^Cselect;au;[color=red];[/color]\_.change;P;LA;00_AANZ-50;LT;CONTINUOUS;COLOR;BYLAYER;; Quote Link to comment Share on other sites More sharing options...
joopvz Posted May 20, 2014 Author Share Posted May 20, 2014 Hi Mircea, unfortunately this did not work. gr. joopvz Quote Link to comment Share on other sites More sharing options...
SEANT Posted May 20, 2014 Share Posted May 20, 2014 How about: ^C^Cselect;au;\_.change;P;;P;LA;00_AANZ-50;LT;CONTINUOUS;COLOR;BYLAYER;; Quote Link to comment Share on other sites More sharing options...
joopvz Posted May 20, 2014 Author Share Posted May 20, 2014 Hi SEANT, This works!! Thank you very much. Gr. joopvz Quote Link to comment Share on other sites More sharing options...
SEANT Posted May 20, 2014 Share Posted May 20, 2014 You're welcome. Quote Link to comment Share on other sites More sharing options...
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.