I do like to create a macro to select a face from an object and after that to do a DupBorder operation.
It is there a way to create a shortcut to quickly toggle On/Off the Sub-Objects command that can be inserted into a macro?

I do like to create a macro to select a face from an object and after that to do a DupBorder operation.
It is there a way to create a shortcut to quickly toggle On/Off the Sub-Objects command that can be inserted into a macro?

the -selectionfilter command will allow you access to all the selection filter command line options