NodeJS module for connecting to Autodesk MotionBuilder and running Python commands.
This requires MotionBuilder's Python server to be running, which is enabled by default and can be changed in: Settings -> Preferences -> Python -> Enabled Server
import { MotionBuilderSocket } from "motionbuilder-socket";
const socket = new MotionBuilderSocket();
socket.open().then(async () => {
const response = await socket.exec("Cube=FBModelCube('Test');Cube.Show=True");
socket.close();
});
For a list of changes, see releases
*This is a third-party module and is not associated with Autodesk or MotionBuilder in any way.