Few commands into one macro

Few commands into one macro

povilasSMM7S
Explorer Explorer
197 Views
1 Reply
Message 1 of 2

Few commands into one macro

povilasSMM7S
Explorer
Explorer

Hello,

I've followed this guide https://help.autodesk.com/view/OARX/2023/ENU/?guid=GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF  to excecute commands from this guide - https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-convert-a-b... - and tried to make a macro out of it:

 

*^C^C._EXPLODE;\\;
*^C^C._CONVTOMESH;\\;
*^C^C._EXPLODE;\\;
*^C^C._REGION;\\;
*^C^C._SURFSCULPT;\\;

 

I don't know how to make it so these commands run with one selection.

Now with this macro I have to select multiple objects everytime commands is excecuted.

 

Any ideas? Thank you.

0 Likes
198 Views
1 Reply
Reply (1)
Message 2 of 2

Kent1Cooper
Consultant
Consultant

You would string them together eliminating the *^C^C at the beginning of each, and possibly also the * at the beginning of the first [that before the ^C^C cancelling part makes it repeat automatically].  A backslash is for User input, such as picking an object.  I'm not versed in some of those commands and their relationships, so I don't know whether two backslashes are always appropriate for all of them.

Is the first EXPLODE to be a single selected object?  If so, use only one backslash.

After an EXPLODE command, the results become the Previous selection, so if what you want to select for the following command is always those resulting pieces, then Previous will get them.

If the second EXPLODE is to be used on the Mesh just made with the prior command, then Last will do for the selection.

UNTESTED, try something like:

^C^C._EXPLODE;\;._CONVTOMESH;_P;;._EXPLODE;_L;;._REGION;_P;;._SURFSCULPT;\\;

But I'm unsure about the selection parts of some of those.  Maybe the last could also be _P.

Kent Cooper, AIA
0 Likes