Ok Guys, there was a bug which prevent script to relay on the correct AnimationGroup to add the node. I solved it and publish a PR related to it. Be aware that there might be a delay for the PR to be merge.
Assuming a Group named “Animation” exist, the following script
manager = dotNetObject “Max2Babylon.MaxScriptManager”
g = manager.GetAnimationGroupByName “Animation”
id = $.handle
manager.AddNodeInAnimationGroup g id
Hiello. Thank you for what you explained. I can create a group and add nodes, but when i try to change the FrameStart and the FrameEnd of the animation group in maxscript, the values are not correctly stored. What’s wrong ? How to do ?
Moreover, do you know where i can find all the properties/attributes of the dotNetObject “Max2Babylon.MaxScriptManager” ? (as “CreateAnimationGroup”, “RenameAnimationGroup”, etc.)
Thank you for your help.