[Sidefx-houdini-list] call opparm from outside houdini

Sean Lewkiw seanl at rainmaker.com
Wed Apr 25 11:32:34 EDT 2007


You could create a file with your opparm command:
set temp = `execute("opparm -c /obj/geoTest cache_execute")`
echo $temp

Then run hscript like this:
hscript -R  myFile.hip     < myCmd.cmd

I tried it with "opls" and it worked.

Sean

Luca Zappala wrote:
> Hello,
>
> How do you call a function ( "opparm -c /obj/geoTest cache_execute" ) 
> using a batch script?
>
> I've got a python script that runs hscript filename.hip, but I still 
> need to manually type "opparm -c /obj/geoTest cache_execute" from 
> houdini shell.
>
> I wish for something a bit more convenient, such as
> hscript filename.hip -run "opparm -c /obj/geoTest cache_execute"
> so that the function is run for me by the script.
> Does such a thing exist? :)
>
> thanks
> Luca
>
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

-- 
Sean Lewkiw
--
Rainmaker Digital
130 Shaftesbury Avenue
London W1D 5EU
--
+44 (0) 207.031.1138 (P) (Direct)
+44 (0) 207.031.4302 (F)
+44 (0) 795.606.7245 (M)





More information about the Sidefx-houdini-list mailing list