On 28/02/2017 at 14:49, xxxxxxxx wrote:
Don't know if it's a bug or not (that take me a while to figured this but)
Here is a log from the console..
Arnoldcylinderlight.CheckType(5102)
True
Arnoldcylinderlight
<c4d.BaseObject object called 'Arnold cylinder_light/Arnold Light' with ID 1030424 at 0x000001179A329C10>
Why CheckType return True?
Using GetType working fine
if Arnoldcylinderlight.GetType() != 5102:
while not CheckType don't.
if not Arnoldcylinderlight.CheckType(5102) :