8,452
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 593: | Line 593: | ||
' keyframe counting code like "selection(0).rotx.Source.Keys.count" will produce an error if no keys exist | ' keyframe counting code like "selection(0).rotx.Source.Keys.count" will produce an error if no keys exist | ||
' that's why we need catch possible errors for each counting | ' that's why we need to catch possible errors for each counting | ||
on error resume next | on error resume next | ||
Line 731: | Line 731: | ||
' therefore let's concentrate on reading out existing ones and then how to create our own via txt files (example: [https://dl.dropbox.com/u/139715/OniGalore/ModToolScript/Oni_env_vars.txt Oni_env_vars.txt]) | ' therefore let's concentrate on reading out existing ones and then how to create our own via txt files (example: [https://dl.dropbox.com/u/139715/OniGalore/ModToolScript/Oni_env_vars.txt Oni_env_vars.txt]) | ||
' code for reading out: | ' code for reading out: | ||
logmessage | logmessage XSIUtils.ResolvePath("$SI_HOME/") | ||
Line 1,004: | Line 1,004: | ||
' GetValue("NAME.kine.global.rotx") | ' GetValue("NAME.kine.global.rotx") | ||
' NAME must be the exact mesh name | ' NAME must be the exact mesh name | ||
' let's say you want the data of one | ' let's say you want the data of one character's pelvis | ||
logmessage GetValue("pelvis.kine.global.sclx") | logmessage GetValue("pelvis.kine.global.sclx") | ||
logmessage GetValue("pelvis.kine.global.scly") | logmessage GetValue("pelvis.kine.global.scly") |
edits