[Sidefx-houdini-list] Global replace for Expressions?

Sean.Lewkiw at cis-vancouver.com Sean.Lewkiw at cis-vancouver.com
Fri Oct 16 18:13:53 EDT 2009


opchange \$F \$FF

... should do it.

Sean


--
Sean Lewkiw - Digital FX Supervisor
CIS Vancouver
50 West 2nd Avenue
Vancouver BC V5Y 1B3
P:  (604) 874-8700




From:
Andrew D Lyons <tstexture at gmail.com>
To:
sidefx-houdini-list at sidefx.com
Date:
10/16/2009 11:16 AM
Subject:
Re: [Sidefx-houdini-list] Global replace for Expressions?
Sent by:
sidefx-houdini-list-bounces at sidefx.com



cpio-expand probably easiest.

Otherwise write code that recurses through the tree, loops over all
parms on each node, tests if they are string parms, if so get the raw
string, replace $F with $FF, and set new string. Fun!

Cheers

2009/10/16 Michael Goldfarb <goldfarb at coredp.com>:
> opchange?
>
>
>
> craigleehoffman at aol.com wrote:
>> Is there a way to do a Global replace for every expression in a Hip 
file?
>>
>> I have a ton of expressions in my file with $F that I should have made 
with $FF (rookie mistake, I know) and now I am faced with manually 
changing them all.
>>
>> Is there a simpler way?  (Or does it involve doing the cpio-expand of 
the Hip File and doing the replace in a text editor, etc.?)
>>
>> Thanks,
>> Craig
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>>
>
> --
> .......................................................................
> Michael Goldfarb                            email: goldfarb at corefa.com
> c.o.r.e. digital pictures                        http://www.coredp.com
> .......................................................................
> "Unless you're an astronaut, secret agent, vampire hunter,
> or all three, you're probably a sellout; screw you."
> - Maddox 2003
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
=======================================
Andrew D Lyons | Digital Artist | http://www.tstex.com
=======================================
_______________________________________________
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