Nested macros don't work as expected?

Nested macros don't work as expected?

elshawadfy
Collaborator Collaborator
563 Views
2 Replies
Message 1 of 3

Nested macros don't work as expected?

elshawadfy
Collaborator
Collaborator

When creating a macro that is compsed of 2 cnosequitive macros, it dosen't work correctly. When the macros are executed separately one after another they work just fine..

The macros are attached below..

0 Likes
564 Views
2 Replies
Replies (2)
Message 2 of 3

Kent1Cooper
Consultant
Consultant

[My computer doesn't know what to use to open that -- can you post it as a plain .txt file, or .lsp or something, or just paste into the body of a message?]

 

Do you mean something other than a macro?  That has a specific meaning in AutoCAD, and I'm not aware that they can be "nested."  But AutoLisp routines can be, and likely some other things.

Kent Cooper, AIA
0 Likes
Message 3 of 3

elshawadfy
Collaborator
Collaborator

Thank you for your reply..

The files are macro files created by autocad macro recorder.

Previously I remembrer macro recorder recordinqg in Lisp, currently it uses this strange file type, which doesent allow much editing (except through the fiew options of the macros tab), Sorry about that, but no can do..

 

They get loaded automatically if placed in the right location: (for me: C:\Users\<User Name>\AppData\Roaming\Autodesk\AutoCAD 2016\R20.1\enu\Support\Actions

(you can find the location in Options > Files > Action Recorder Settings > Actions Recording File Location)

Then you will find the macros in the "manage" tab under the Action Recorder Tab 

 

-------------
What I did, was recording a first macro, and then a second, and a third where I called the first two.. Thats where the problems apeared.. The word "nesting" is not an official term, it's rather a description for what I did..

 

 

0 Likes