---- 2022-05-10 ----

C4D R25 update selection shortcut / script

( You can create a shortcut to the script )

---------------------------------------

import c4d
#Welcome to the world of Python

def main():
    def tool():
        return c4d.plugins.FindPlugin(doc.GetAction(), c4d.PLUGINTYPE_TOOL)

    def object():
        return doc.GetActiveObject()

    def tag():
        return doc.GetActiveTag()

    def renderdata():
        return doc.GetActiveRenderData()

    def prefs(id):
        return c4d.plugins.FindPlugin(id, c4d.PLUGINTYPE_PREFS)

    c4d.CallButton(tag(), c4d.POLYGONSELECTIONTAG_UPDATE)


if __name__=='__main__':
    main()
    c4d.EventAdd()

------------------------------------

Cinema4D / R25 / update Selection / Script / 3D Rendering / Skript / Selektion akutalisieren