Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 769 Bytes

File metadata and controls

23 lines (16 loc) · 769 Bytes

MotionBuilder Socket

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

Example Usage

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();
});

Changelog

For a list of changes, see releases


*This is a third-party module and is not associated with Autodesk or MotionBuilder in any way.