[Sidefx-houdini-list] spare parameter

Sean Lewkiw Sean.Lewkiw at CIS-London.com
Fri Jul 25 06:47:39 EDT 2008


This might get you started....

set foo = `opselect("/obj")`
foreach i ( $foo )
    echo $i
    cd /obj/$i
    # do some funky stuff
end

Pol Chanthasartratsamee wrote:
> thanks Pablo
> I thought of that too, but unfortunately I know so littel about scripting.
> Anyways, I'll give it a go and see how it goes.
>
> cheers
> Pol
>
> ----- Original Message -----
> From: "Pablo Giménez" <pablogipi at gmail.com>
> To: sidefx-houdini-list at sidefx.com
> Sent: Friday, 25 July, 2008 11:13:08 AM GMT +00:00 GMT Britain, Ireland, Portugal
> Subject: Re: [Sidefx-houdini-list] spare parameter
>
> You can use python to get the list of all of your selected nodes and then
> create spare parameters on them.
>
> 2008/7/25 Pol Chanthasartratsamee <Pol.Chanthasartratsarmee at framestore.com>:
>
>   
>> Hi there,
>>
>> Is there a way to select multiple nodes and create a spare parameter for
>> all of them at once? hscript maybe?
>>
>> The thing is I have a scene which contains lots of Polyextrude and I want
>> to add a simple expression, detail("../" + opinput(".",0), "scaleAmount",0),
>> to their translation parameters, but once I select all of them and try to
>> put the expression there, all my specific numbers I have them set in
>> translation are wiped out.
>>
>> Any idea?
>>
>> thank you
>> Pol
>>
>> --
>> Junior Techincal Director
>> Commercials
>> Framestore
>> 9 Noel Street, London W1F 8GH
>> T + 44 (0) 207 208 2600 F + 44 (0) 207 208 2626
>> www.framestore.com
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>>     
>
>
>
>   

-- 
Sean Lewkiw
--
CIS London
130 Shaftesbury Avenue
London W1D 5EU
--
+44 (0) 207.031.1138 (P) (Direct)
+44 (0) 207.031.1136 (F)
+44 (0) 795.606.7245 (M)
--
Composite Image Systems London Ltd
Registered Office: Denham Media Park, North Orbital Road, Denham, Uxbridge, Middlesex UB9 5HQ
Company Registration No. 5577229 England





More information about the Sidefx-houdini-list mailing list