Print log messages to MotionBuilder

1.7k views Asked by At

I would like to use the MotionBuilder 2013 API to log a message to the MotionBuilder console from C++.

Example image

I would like a message to show up where the "Hello" has been printed. Or if that is impossible somewhere else in motion builder. That message has been displayed with a print statement in python.

In Maya you use: MGlobal::displayInfo(msg);

in 3ds Max you can use:

the_listener->edit_stream->wputs(wcharConverter);
the_listener->edit_stream->flush();

Is there a motion builder version? I have searched the api but cannot seem to find the call. http://docs.autodesk.com/MB/MB2013/ENU/MotionBuilder-SDK-Documentation/index.html

1

There are 1 answers

3
Hcorg On

Have you tried FBTrace("Message")?

Check in docs under: C++ API -> Modules -> The Trace utility functions