5

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

4

1 回答 1

0

你试过FBTrace("Message")吗?

签入以下文档:C++ API -> 模块 -> Trace 实用程序函数

于 2015-07-01T10:19:51.330 回答