Macro recording problems.


#1

I’m having a bit of a problem trying to record a simple macro.

I select a polygon, select the Record Macro button, perform some simple bevels, drop the bevel tool, then select Record Macro again to finish the session.
Unfortunately every time I try to replay the macro I get the error message “This tool can only be used interactively”, then it quits.
The odd thing is that the error message only appears once all the bevels have drawn, but on quitting all the bevels are removed.

Any help ?


#2

Yog,

Ya, that happens becuase you have to select the object mode, before you run the Macro, I think.

You need to sorta auto mate the selection so it picks the subobject mode, vert, edge, poly.

at least thats the way i remember it back then, its been a while.

my macro started like this

#LXMacro#
tool.set “actr.selectauto” “on”
select.typeFrom “polygon;edge;vertex;item” [1]


#3

Thanks Nando.

I had another look at the video on the Luxology site, and noticed one small difference in what I was doing, and what was on the video. The difference was that I was deselecting the bevelled polygon before stopping the macro, whereas the macro left it selected. Works fine that way.

Most odd, I would almost call it a bug :wink:


#4

You can’t paint select or deselect elements when recording a macro - although you can convert selections and walk up and down them. Paint selecting is dependent on the model, view, screenspace, etc - not really good for re-running a macro on another model from a different angle. Think of macros as a series of commands on a selection, not including the selection itself - it’s kind of a safeguard I would think.

-Greg


#5

I can understand a macro not being able to cope with a new selection, heck I wouldn’t expect any program to read my mind as to what I want selected next :slight_smile:
But I’m not so sure why deselecting isn’t allowed, especially as there is a drop selection tool :shrug:


#6

Actually you can do this:

add these two commands after your bevel in your macro

select.drop “polygon”
tool.set “poly.bevel” “off” “0”

it will drop the poly and the tool.

Hopefully they will include the ‘read your mind’ function in 103 :slight_smile:

best,

Greg


#7

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.