I am selecting tags on an object with python and once the selection is set the attribute manager doesn't update with the tag's attributes. It will if you only have any tag selected before the selection but if an object is selected or nothing is selected the attribute manager won't display anything when the tag is selected:/
Any idea how to get the tag's properties to show up without manually selecting it?
Here is simplified code to illustrate the issue. If you just make a cube primitive and select it this code will select the phong tag. But again the properties of the phong tag dont show up.
import c4d
from c4d import gui
def main():
obj = doc.GetActiveObject()
tags = obj.GetTags()
doc.SetSelection(tags[0])
c4d.EventAdd()
# Execute main()
if __name__=='__main__':
main()