I have a treeview.
To get the id of a treeview item, I use self.GetId().
However, using print statements and looking at the console I see that GetId() returns a long and not an int.
I use the returned value to send a message, but that gives the error " OverflowError: Python int too large to convert to C long".
# get objId from selected treeview item
#objId = self.GetId(root, userdata, obj)
# following value is returned: 8767031175441
objId = 8767031175441
print type(objId), objId
c4d.SpecialEventAdd(2, p1=1, p2=objId)
This happens only for one of our beta testers.
He uses:
MacBookPro 2019
OS: Catalina 10.15.3
C4D version 21.115
I did ask him to upgrade to R21.207
Myself have no issues, mostly get a negative int?
Any tips?