Ozon Yağı | Medikal Ozon Yağı | HGF Link Değişimi

What I learned today #4:Center Current Frame

When using Maya’s Dope Sheet and Graph Editor you sometimes want to quickly center the editors on the current active frame. You can do this by going ‘View’>'Center Current Frame’ – or – you can add these two commands to your hotkey editor and map that functionality to some spiffy hotkeys:

For the Graph Editor:
animCurveEditor -edit -lookAt currentTime graphEditor1GraphEd;

For the Dope Sheet:
dopeSheetEditor -edit -lookAt currentTime dopeSheetPanel1DopeSheetEd;

For those who like this sort of stuff there is Cameron Fielding’s ‘Tap your timing’ – tip

What I learned today #3: Wrapping your paths in quotes!

Always always always remember wrapping your paths in quotes. I keep running into stuff I wrote break because someone saved a file with a space in it and I forgot to wrap the path in quotes.
This works:
blackwave.exe -d 50 superwave.wav
This doesn’t:
blackwave.exe -d 50 super 2.wav (two file arguments, ‘super’ and ’2.wav’)
To fix this:
blackwave.exe -d 50 "super 2.wav"

So remember: whenever you are using path rembemer the
"\""+ variable + "\""
(or something else that suits your language)

What I learned today #2: Various definitions of TEMP

In Softimage on Windows, if you fetch the TEMP environment variable e.g. from witihn python (with the os.environ dictionary), you will get a different directory when you get the TEMP variable from outside Softimage.
Outside Softimage you get:
C:\Users\<username>\some\path\I\cannot\rembemer
within it you get:
C:\Users\<username>\some\path\I\cannot\rembemer\XSI_temp_###

Just in case you wanted to write files to TEMP and read from them later.

©2007, Sveinbjörn J. Tryggvason | RSS | Comments-RSS

Seo | Böcek İlaçlama | Böcek İlaçlama | İlaçlama | Böcek İlaçlama | Böcek İlaçlama | Böcek İlaçlama | prefabrik ofis | prefabrik