Jump to content
Sign in to follow this  
Anton

Houdini and Python shell

Recommended Posts

Hi! I have some questions about working with houdini throught python shell

1. I trying to run mcbiovision script using this code:

from os import path,system

root = "/media/PROJECTS/02.Lift/03.MoCap_Data/"

file = "Cowboy.BVH"

file = path.join(root,file)

system("mcbiovision -w "+file)

and nothing...

Terminal writes: Unable to open Cowboy.cmd for writing

The interesting thing happens when i trying to use this function from the folder where Cowboy.BVH exists.

antonio@antonio:/media/PROJECTS/02.Lift/03.MoCap_Data$ mcbiovision -w Cowboy.BVH

everything is OK

So, how can I modify my python script to play mcbiovision function from the folder where .bvh file sits?

Cheers,Anton!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×