saca 7 Posted March 24 hi, simple python script sample 'a_b_c'.split('_')[0] >'a' samely, i want to execute python script as parameter value, example) hip filename is "s001_c001_myScene_v001.001.hip" $HIPNAME.split('_')[0] but it's retuen same strings, very confuse. i want get "s001" in this case. please tell me how to write them? thanks Share this post Link to post Share on other sites
Stalkerx777 160 Posted March 24 0. Switch expression language to Python (you've done that already) 1. Set a keyframe on the string parameter. This is required! 2. Set your expression like this: hou.expandString("$HIPNAME").split('_')[0] Share this post Link to post Share on other sites
saca 7 Posted March 25 that's great! "Set a keyframe", really need. thanks Share this post Link to post Share on other sites