简体   繁体   中英

Print log messages to MotionBuilder

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

示例图片

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

Have you tried FBTrace("Message") ?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM