[Sidefx-houdini-list] expressions in $FS

Gary Jaeger gary at corestudio.com
Mon Jan 16 23:13:21 EST 2017


ah, hot diggity. Thanks Michael. 

Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
http://corestudio.com <http://corestudio.com/>
> On Jan 16, 2017, at 6:43 PM, Michael Dunkley <mdunkley at gmail.com> wrote:
> 
> Hi Gary, the padzero function actually takes two arguments - the
> padding size and then the number to be padded.  So with that your
> expression becomes:
> 
> /foo/bar/foo_bar.`padzero(5,$F+4)`.jpg
> 
> On Mon, Jan 16, 2017 at 7:57 PM, Gary Jaeger <gary at corestudio.com> wrote:
>> Thanks Ron. And yet… it does not see to work. I left out that my sequence actually reads like
>> 
>> foo_bar.$F5.jpg
>> 
>> which I take to mean pad five in houdini speak, but I can’t get your method to work
>> 
>> Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
>> http://corestudio.com <http://corestudio.com/>
>>> On Jan 16, 2017, at 9:17 AM, Ron Schab <ron.schab at gmail.com> wrote:
>>> 
>>> Hi Gary,
>>> 
>>> u almost had it :)   $F needs to be within ur backticks as well and  you
>>> need to watch those brackets outside of your backticks :)
>>> 
>>> /foo/bar/foo_bar.`$F+4`.jpg should work.
>>> If you have zero padded frame ranges (i.e. 0014) it needs to be
>>> /foo/bar/foo_bar.`padzero($F+4)`.jpg
>>> 
>>> cheers
>>> Ron
>>> 
>>> 
>>> 
>>> On Mon, Jan 16, 2017 at 5:55 PM, Gary Jaeger <gary at corestudio.com <mailto:gary at corestudio.com>> wrote:
>>> 
>>>> Hi. If I’m reading in a sequence (in this case for a camera Background
>>>> Image) and want to offset the frames, what’s the best way to do that? A
>>>> couple thoughts occur to me, but as the frame # isn’t obviously a different
>>>> parameter I’m not having any luck. In maya I might simply decouple the
>>>> frame value from the default time expression and set keys, or do a +/-
>>>> expression.
>>>> 
>>>> I tried adding a float value to the View pane of the camera, but when I
>>>> try something like
>>>> 
>>>> /foo/bar/foo_bar.($F+`chs(“/obj/shotCam/timeOffset”)`).jpg that doesn’t
>>>> seem to work.
>>>> 
>>>> thanks!
>>>> 
>>>> Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
>>>> http://corestudio.com <http://corestudio.com/> <http://corestudio.com/ <http://corestudio.com/>>
>>>> _______________________________________________
>>>> Sidefx-houdini-list mailing list
>>>> Sidefx-houdini-list at sidefx.com <mailto:Sidefx-houdini-list at sidefx.com>
>>>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list <https://lists.sidefx.com/mailman/listinfo/sidefx-houdini-list>
>>>> 
>>> _______________________________________________
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com <mailto:Sidefx-houdini-list at sidefx.com>
>>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list <https://lists.sidefx.com/mailman/listinfo/sidefx-houdini-list>
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> _______________________________________________
> 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