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

Luca Zappala 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 :)
Luca

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.
>
> 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
>




More information about the Sidefx-houdini-list mailing list