MZ1
@mz1
New Member
Joined: Feb 14, 2024
Topics: 169 / Replies: 649
Reply
RE: Calling C++ function inside C#

I ended up to save and load transforms locally. First I tried to set the transform controller, but I waste my time: SDK-C# Set tran…

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

oops, it was my mistake, StartSettingBipedKeys and StopSettingBipedKeys should be outside the loop. Now it’s work on the latest scene as well.

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

This is another example that tool doesn’t work: TestMaxFile(2016).max (1.0 MB)

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

This is the update so far: TestProject(2020).rar (6.2 MB)

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

Because we start from the root node in the scene, it works on the hierarchy. (if we use the SetBipedTM for biped parts).

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

MZ: Please find attached .fig file and load on your biped to see what problem I’m talking about.(rotate the clavicle bone)TestFigure.fig (14.7 KB) …

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

This is the right method to get the biped interface to call SetBipedTM: public IIBipMaster12 GetIBipMasterInterface12(IINode node) { var ptr = ((…

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

Please let me know if you still need older version, I can re-build again

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

Sadly, There is a dotnet dll that may not work on other versions, mostly because of Autodesk renaming system

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

It is not ideal, but the only method that comes to my mind for now. to make the entire biped or rig, we should move the root object, but Any other mec…

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

How we can access to that interface? I guess it would solve the problem.

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

Serejah: SetBipedTM I couldn’t find it neither in IBipMaster or IIBipMaster: public static Autodesk.Max.IBipMaster GetIBipMasterInterface(IINod…

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

Maybe you didn’t exit the figure mode? For me the problem is when I rotate the clavicle for example, then entire arm will move back and forth randomly…

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

I saw your code, Yes, it will remove unnecessary set transform. thanks! Another point is the DisableRefMsgs also impressively will increase the perfor…

3 years ago
Forum
Reply
RE: Calling C++ function inside C#

I will check it out @Serejah, Thanks!

3 years ago
Forum
Page 7 / 55