Solved Python: Selection tag

Hello
In python, how to select the polygons contained in a selection tag.
Thanks

Probably there is a better way but you can try this method

selectionTag = op.GetTag(5673)
c4d.CallButton(selectionTag , c4d.POLYGONSELECTIONTAG_COMMAND3)

SelectionsTags return BaseSelects.
You can then iterate over all polygons of your object and select those, that are contained in a BaseSelect.

Solved;) Thank you both

Hi,

while I'm glad, this was already solved, I just wanted to add a link to an old thread in the archive, which might be helpful for future readers due the contained code snippet: Select polygons from Selection Tag.

Cheers,
Andreas