Jump to content

Macro doesn't work anymore in autocad 2014


Recommended Posts

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

Link to comment
Share on other sites

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;;

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...