[Sidefx-houdini-list] call opparm from outside houdini
luca at cinesite.co.uk
Wed Apr 25 12:04:16 EDT 2007
@Sean and Jeff
It's great, exactly what I was looking for. Just give me a shout the
next time you're in London so I can buy you a drink :)
Sean Lewkiw wrote:
> 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.
> Luca Zappala wrote:
>> 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? :)
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list