Re: Expression Question
I just moved the conditional to the next layer down(a null) that is driving the rotation. I think I worded that wrong. On Mon, Nov 19, 2012 at 2:12 PM, Matt Lind wrote: > You don’t need more objects, you need more parameters. > > ** ** > > If you create an ‘offset’ parameter for each of the custom parameters you > already have, you can add them into your expression to give you the control > you want without having to resort to additional objects and constraints.** > ** > > ** ** > > Basically, you’re making the expression a little more complex to save from > adding unnecessary stuff to the scene. > > ** ** > > Matt > > ** ** > > ** ** > > ** ** > > *From:* softimage-boun...@listproc.autodesk.com [mailto: > softimage-boun...@listproc.autodesk.com] *On Behalf Of *Byron Nash > *Sent:* Monday, November 19, 2012 10:51 AM > *To:* softimage@listproc.autodesk.com > *Subject:* Re: Expression Question > > ** ** > > OK, good to know. I was trying to apply how expressions work in After > Effects I guess. I'll break it out into more objects. > > ** ** > > On Mon, Nov 19, 2012 at 1:37 PM, Peter Agg > wrote: > > Yeah, the usual way around it is to have 2 different objects with 2 > different drivers/operators, then you can blend a constraint between the > two of them via a custom parameter. > > ** ** > > ** ** > > On 19 November 2012 18:34, Matt Lind wrote: > > An Expression is an operator in Softimage. When an operator’s output > ports drive a parameter, the parameter is under full control of the > operator. As long as the parameter is driven by the operator, the only > control you have is the parameter value via the operator’s output. The > only way to regain manual control of the parameter is to mute or delete the > operator. > > > > Matt > > > > > > > > > > *From:* softimage-boun...@listproc.autodesk.com [mailto: > softimage-boun...@listproc.autodesk.com] *On Behalf Of *Byron Nash > *Sent:* Monday, November 19, 2012 10:28 AM > *To:* softimage@listproc.autodesk.com > *Subject:* Expression Question > > > > I have a simple expression question. I have some custom parameters driving > the animation of other objects. I would like to have a check box that > should link one parameter to the other. It sort of works but the value does > not change when I disable the check box. Here is my expression. > > > > *cond( AWD_Mower.Mower_Controls.Lock_Wheel_Height == 1, > AWD_Mower.Mower_Controls.Front_Wheel_Height, > AWD_Mower.Mower_Controls.Rear_Wheel_Height )* > > > > In case it's not obvious from the expression, I have two sliders, > "Front_Wheel_Height", and "Rear_Wheel_Height". And a checkbox called > "Lock_Wheel_Height". According to my expression, shouldn't the > "Rear_Wheel_Height" slider be adjustable when the check box is off? I have > the expression on the "Rear_Wheel_Height". When I disable the check box, > the slider jumps to a fixed value and will not change. When I enable it, it > follows the first slider as expected. > > > > Thanks, > > Byron > > ** ** > > ** ** >
RE: Expression Question
You don't need more objects, you need more parameters. If you create an 'offset' parameter for each of the custom parameters you already have, you can add them into your expression to give you the control you want without having to resort to additional objects and constraints. Basically, you're making the expression a little more complex to save from adding unnecessary stuff to the scene. Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Byron Nash Sent: Monday, November 19, 2012 10:51 AM To: softimage@listproc.autodesk.com Subject: Re: Expression Question OK, good to know. I was trying to apply how expressions work in After Effects I guess. I'll break it out into more objects. On Mon, Nov 19, 2012 at 1:37 PM, Peter Agg mailto:peter@googlemail.com>> wrote: Yeah, the usual way around it is to have 2 different objects with 2 different drivers/operators, then you can blend a constraint between the two of them via a custom parameter. On 19 November 2012 18:34, Matt Lind mailto:ml...@carbinestudios.com>> wrote: An Expression is an operator in Softimage. When an operator's output ports drive a parameter, the parameter is under full control of the operator. As long as the parameter is driven by the operator, the only control you have is the parameter value via the operator's output. The only way to regain manual control of the parameter is to mute or delete the operator. Matt From: softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com> [mailto:softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>] On Behalf Of Byron Nash Sent: Monday, November 19, 2012 10:28 AM To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com> Subject: Expression Question I have a simple expression question. I have some custom parameters driving the animation of other objects. I would like to have a check box that should link one parameter to the other. It sort of works but the value does not change when I disable the check box. Here is my expression. cond( AWD_Mower.Mower_Controls.Lock_Wheel_Height == 1, AWD_Mower.Mower_Controls.Front_Wheel_Height, AWD_Mower.Mower_Controls.Rear_Wheel_Height ) In case it's not obvious from the expression, I have two sliders, "Front_Wheel_Height", and "Rear_Wheel_Height". And a checkbox called "Lock_Wheel_Height". According to my expression, shouldn't the "Rear_Wheel_Height" slider be adjustable when the check box is off? I have the expression on the "Rear_Wheel_Height". When I disable the check box, the slider jumps to a fixed value and will not change. When I enable it, it follows the first slider as expected. Thanks, Byron
Re: Expression Question
OK, good to know. I was trying to apply how expressions work in After Effects I guess. I'll break it out into more objects. On Mon, Nov 19, 2012 at 1:37 PM, Peter Agg wrote: > Yeah, the usual way around it is to have 2 different objects with 2 > different drivers/operators, then you can blend a constraint between the > two of them via a custom parameter. > > > > On 19 November 2012 18:34, Matt Lind wrote: > >> An Expression is an operator in Softimage. When an operator’s output >> ports drive a parameter, the parameter is under full control of the >> operator. As long as the parameter is driven by the operator, the only >> control you have is the parameter value via the operator’s output. The >> only way to regain manual control of the parameter is to mute or delete the >> operator. >> >> ** ** >> >> Matt >> >> ** ** >> >> ** ** >> >> ** ** >> >> ** ** >> >> *From:* softimage-boun...@listproc.autodesk.com [mailto: >> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Byron Nash >> *Sent:* Monday, November 19, 2012 10:28 AM >> *To:* softimage@listproc.autodesk.com >> *Subject:* Expression Question >> >> ** ** >> >> I have a simple expression question. I have some custom parameters >> driving the animation of other objects. I would like to have a check box >> that should link one parameter to the other. It sort of works but the value >> does not change when I disable the check box. Here is my expression. >> >> ** ** >> >> *cond( AWD_Mower.Mower_Controls.Lock_Wheel_Height == 1, >> AWD_Mower.Mower_Controls.Front_Wheel_Height, >> AWD_Mower.Mower_Controls.Rear_Wheel_Height )* >> >> ** ** >> >> In case it's not obvious from the expression, I have two sliders, >> "Front_Wheel_Height", and "Rear_Wheel_Height". And a checkbox called >> "Lock_Wheel_Height". According to my expression, shouldn't the >> "Rear_Wheel_Height" slider be adjustable when the check box is off? I have >> the expression on the "Rear_Wheel_Height". When I disable the check box, >> the slider jumps to a fixed value and will not change. When I enable it, it >> follows the first slider as expected. >> >> ** ** >> >> Thanks, >> >> Byron >> > >
Re: Expression Question
Yeah, the usual way around it is to have 2 different objects with 2 different drivers/operators, then you can blend a constraint between the two of them via a custom parameter. On 19 November 2012 18:34, Matt Lind wrote: > An Expression is an operator in Softimage. When an operator’s output > ports drive a parameter, the parameter is under full control of the > operator. As long as the parameter is driven by the operator, the only > control you have is the parameter value via the operator’s output. The > only way to regain manual control of the parameter is to mute or delete the > operator. > > ** ** > > Matt > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* softimage-boun...@listproc.autodesk.com [mailto: > softimage-boun...@listproc.autodesk.com] *On Behalf Of *Byron Nash > *Sent:* Monday, November 19, 2012 10:28 AM > *To:* softimage@listproc.autodesk.com > *Subject:* Expression Question > > ** ** > > I have a simple expression question. I have some custom parameters driving > the animation of other objects. I would like to have a check box that > should link one parameter to the other. It sort of works but the value does > not change when I disable the check box. Here is my expression. > > ** ** > > *cond( AWD_Mower.Mower_Controls.Lock_Wheel_Height == 1, > AWD_Mower.Mower_Controls.Front_Wheel_Height, > AWD_Mower.Mower_Controls.Rear_Wheel_Height )* > > ** ** > > In case it's not obvious from the expression, I have two sliders, > "Front_Wheel_Height", and "Rear_Wheel_Height". And a checkbox called > "Lock_Wheel_Height". According to my expression, shouldn't the > "Rear_Wheel_Height" slider be adjustable when the check box is off? I have > the expression on the "Rear_Wheel_Height". When I disable the check box, > the slider jumps to a fixed value and will not change. When I enable it, it > follows the first slider as expected. > > ** ** > > Thanks, > > Byron >
RE: Expression Question
An Expression is an operator in Softimage. When an operator's output ports drive a parameter, the parameter is under full control of the operator. As long as the parameter is driven by the operator, the only control you have is the parameter value via the operator's output. The only way to regain manual control of the parameter is to mute or delete the operator. Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Byron Nash Sent: Monday, November 19, 2012 10:28 AM To: softimage@listproc.autodesk.com Subject: Expression Question I have a simple expression question. I have some custom parameters driving the animation of other objects. I would like to have a check box that should link one parameter to the other. It sort of works but the value does not change when I disable the check box. Here is my expression. cond( AWD_Mower.Mower_Controls.Lock_Wheel_Height == 1, AWD_Mower.Mower_Controls.Front_Wheel_Height, AWD_Mower.Mower_Controls.Rear_Wheel_Height ) In case it's not obvious from the expression, I have two sliders, "Front_Wheel_Height", and "Rear_Wheel_Height". And a checkbox called "Lock_Wheel_Height". According to my expression, shouldn't the "Rear_Wheel_Height" slider be adjustable when the check box is off? I have the expression on the "Rear_Wheel_Height". When I disable the check box, the slider jumps to a fixed value and will not change. When I enable it, it follows the first slider as expected. Thanks, Byron