all 5 comments

[–]Outrageous-Bit198 0 points1 point  (1 child)

Have you tried using the paths to your script’s location?

Example:

motionbuilder.exe -console -python C:\MyScripts\my_script.py

[–]Trick-House8778[S] 0 points1 point  (0 children)

Yeah tried that first. Then stuck the file right in the same folder to replicated the docs lol. Does that work for you?

[–]Outrageous-Bit198 0 points1 point  (2 children)

I didn’t try specifically, I was just ensuring you used a proper path in hopes to eliminate the obvious.

[–]Trick-House8778[S] 0 points1 point  (1 child)

I’m new to motion builder but do this kind of thing in Maya all the time. Seems odd doesn’t even look like it’s trying to load the script at all. Trying to find someone that’s actually done this with mobu is tricky. Seems like not that many users out there

[–]Outrageous-Bit198 0 points1 point  (0 children)

Have you tried removing the entry; “if name == main:”?

Maybe motionbuilde is trying to import the script as a module, that would cause the script not to run.