Such a question is usually an indicator that there is a better way to organise stuff. I’d approach this by creating 1 master component with auto layout. Then add N amount of instances, each with own color (as an override). Voila. You even have an opportunity to synchornize every swatch in every subsequent design if you make changes later.
@Slava_Bronevitskiy Thanks for your reply. I suppose I should have specified that the screenshot was to illustrate the mechanics of what I am trying to do, not the actual use-case.
Indeed, starting a fresh component is the way to go 95% of the time. However, sometimes this is not possible or even ideal… such as refactoring certain legacy components.
There are numerous batch operations that figma provides our of the box (batch renaming comes to mind) or which are provided via plugins (changing multiple text, batch styling etc). I am just looking for that same convenience for applying auto-layout.
Automater plugin can do it.
Amazing, exactly what I was looking for. Thanks @Gleb 🙂
I was having the same issue, the Automater plugin solves it. I was even looking for a plugin that select nested elements in bulk selection and this plugin also does that. Thanks @Gleb
Yessss. Thank you so much, it is a really great plugin
@Gleb do you have a walkthrough? I can’t figure it out myself… for some reason automaton doesn’t run Set Autolayout to my current selection
You are using the wrong plugin. It’s Automater