[Sidefx-houdini-list] spare parameter

Pol Chanthasartratsamee Pol.Chanthasartratsarmee at framestore.com
Fri Jul 25 09:44:57 EDT 2008


Hi Sean,
sorry to bug you again. I have another stupid question to ask. What is a command for copying values from one channel to another channel (if there's any). 

I tried this 
chcp /obj/trunk_blend_shape/polyextrude37/ltx /obj/trunk_blend_shape/polyextrude37/translationx
but it didnt work.

Thanks again
Pol


----- Original Message -----
From: "Pol Chanthasartratsamee" <Pol.Chanthasartratsarmee at framestore.com>
To: sidefx-houdini-list at sidefx.com
Sent: Friday, 25 July, 2008 12:05:57 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Sidefx-houdini-list] spare parameter

That's cool Sean.
I managed to creat a spare parameter for all of them by using the below in the textport:

opspare -a -t xyz -s 3 -l "Translation" -v "0 0 0" compos /obj/trunk_blend_shape/polyextrude*

Now, it kinda solved one of my problems, but I still need to tranfer all translation values from Local tab in all Polyextrude sops to the spare parameters created. I reckon I will try something on your script and see how it goes from there.

Thanks so much
Pol



----- Original Message -----
From: "Sean Lewkiw" <Sean.Lewkiw at CIS-London.com>
To: sidefx-houdini-list at sidefx.com
Sent: Friday, 25 July, 2008 11:47:39 AM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Sidefx-houdini-list] spare parameter

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


_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

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

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



More information about the Sidefx-houdini-list mailing list