Hi,
the Python docs specify a left shift operator for DescID.
Unfortunately it seems to have issues. No other code than te snippet found in docs is needed:
dId = c4d.DescID(c4d.DescLevel(30), c4d.DescLevel(40), c4d.DescLevel(50))
dId<<2
Here in my R21 on Win10 this results in:
TypeError: unsupported operand type(s) for <<: 'c4d.DescID' and 'int'
Trying to call __lshift__()
directly results in NotImplemented
, which could be a hint ;)
Cheers,
Andreas