|
Hello,
Just wanted to post some start-up flags that aren’t documented, yet. If your curious why I posted it here and not in the main MB thread, I just feel a lot of the flags are helpful for the coders. The attachement has more details and examples.
-console
This opens an output window used by FBTrace in the OR SDK, where the appropriate stdout/err stream goes. If you choose to use this console output window for Python output you would need to also specify the –verbosePython flag.
-F [filename]
This flag is not necessary to specify a filename, however if you choose to not use it you will always have to have the filename you want to open at startup last in the parameter list.
-g [width] [heigh]
Sets the window size of MotionBuilder to the values you have specified. Default value will be as large as the screen size.
-S
Starts MotionBuilder in Full Screen Mode, this is the same as choosing Display > Full Screen inside the Viewer. To exit out of Full Screen Mode, hit Alt+Enter.
-setAsFrontMostApp
For Macintosh only. When launching MotionBuilder from a terminal, MotionBuilder looses focus to the terminal. This can cause problems when you are trying to automate with scripts. This flag keeps the focus on MotionBuilder and set it as the front most application.
-suspendMessages
Disables all the warnings and dialogs that pop-up. This flag is useful for automation purposes when you do not want the script to be interrupted by dialog boxes. By default all warnings and dialogs boxes are shown.
-T[UI Name]
Finds a tool with the matching name among the tools that MotionBuilder has registered, and if it is found it activates it. This flag parameter is case sensitive. Also note there is not space between the flag name and the UI Name parameter unlike the other flags.
-verbosePython
Outputs all python messages to the appropriate stdout/err stream. This puts the Python print messages to the window that you activate using the console flag as well as to the Python Editor, this is the same location that FBTrace outputs to when using the OR SDK. By default we do not output python output to stdout/err only to the Python Editor.
Enjoy!,
Kristine
KRISTINE MIDDLEMISS | SENIOR DEVELOPER CONSULTANT
AUTODESK DEVELOPER NETWORK Media & Entertainment
http://www.autodesk.com/joinadn
|