What do you mean by attached parameter?
I made a new custom parameter, set a key, and added it as an -In-
connection. Is that what you meant? It still won't update every frame.
On 10/24/07, Bradley Gabe <withanar(at)gmail.com> wrote:
> Sometimes on a scripted operator, you need to create an attached parameter
> and set a keyframe. That always forces update on every frame.
>
> Other times, update doesn't occur due to a cycle in relationships. As long
> as you are positive that is not the case, then the tip above should work.
>
> -Brad
>
>
> On 10/24/07, Alan <alan.fregtman(at)gmail.com> wrote:
> >
> > Hey guys,
> >
> > I'm not new to scripting but I'm new to scripted operators. I still
> > don't fully understand their inner workings so I apologize if I'm
> > asking something too obvious. This is the first time I'm posting on
> > the mailing list, too.
> >
> >
> > Anyway, I had this idea today... what if I used a custom parameter to
> > toggle between a live soft-constraint and an animated parameter whose
> > keys were set by a scripted op? These keys would only be set when the
> > constraint is active. Then, when they are inactive, an expression on
> > the object with the disabled constraints would borrow values from the
> > parameter which the scripted op animated.
> >
> > I got it working, sort of... it works when I scrub the timeline by
> > hand, or when jumping to different points in time, however, when I hit
> > play, the scripted op doesn't actually update.
> >
> > (I'm on XSI 6.02.) I tried enabling "Always evaluate", hoping this
> > would force it to run on a per-frame basis, but it doesn't change a
> > thing.
> >
> > I read somewhere that constraints evaluate previous to scripted ops,
> > so I have an intermediate object, and as I said above, it works only
> > when scrubbing the timeline by hand, so does anyone know what I may be
> > doing wrong or how to work around this?
> >
> > Thanks in advance for any help,
> >
> > -- Alan
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> > unsubscribe xsi
> >
>
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi