Hi,
For some reason I get an unusual conversion of iNode to Animatable class in the MaxPlus module.
In my testing scene, it only has 1 Edtiable Poly Cube bound to bones.
all_obj = MaxPlus.Core.GetRootNode().Children
all_mesh = []
for obj in all_obj:
if obj.GetObject().GetClassName() == "DerivedObject":
all_mesh += obj
print type(obj)
for mesh in all_mesh:
print type(mesh)
# Result of the Print
<class 'MaxPlus.INode'>
<class 'MaxPlus.Animatable'>
<class 'MaxPlus.Animatable'>
<class 'MaxPlus.Animatable'>
<class 'MaxPlus.Animatable'>
<class 'MaxPlus.Animatable'>
<class 'MaxPlus.Animatable'>
<class 'MaxPlus.Animatable'>
As you can see on the for mesh
loop. It spits out Animatable
instead of iNode
.
Is there a way around this? I need the iNode to perform several methods not available in the Animatable class.
Thank you for looking at my problem.