Hi there, I'm writing a script in python & I wanted to ask how I can update a polygon selection tag (Exactly as if you call the 'Select' -> 'Set Selection' command with the polygon selection tag selected).
Basically, I am Getting the C4d.BaseSelect from the c4d.SelectionTag & altering the C4d.BaseSelect - afterwards, I want to update the c4d.SelectionTag with the changes.
Here is a very simplified sample code:
curr_sel = sel_tag.GetBaseSelect()
comp_sel = comp_tag.GetBaseSelect()
curr_sel.DeselectFrom(comp_sel)
Now I would like to write my modified curr_sel back to the sel_tag Polygon Selection Tag, but I don't know how.
I am prepared to select it in the interface & use CallCommand as a last resort, but it's not very elegant & I won't be able to add undos.
Thanks in advance for your help.