Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
frame = variable * scalar + bias
frame = variable + bias
frame variable + bias
-------------------------------
0 -100 + 100
100 0 + 100
200 +100 + 100
frame = variable * scalar + bias
frame = variable * 2 + 100
frame variable * 2 + bias
------------------------------------
0 -50 * 2 + 100
100 0 * 2 + 100
200 +50 * 2 + 100
<Code>(A:NAV2 Radial,degrees) 10 *</Code>
<PartInfo>
<Name>ADF_A</Name>
<AnimLength>20</AnimLength>
<Animation>
<Parameter>
<Code>(L:HUNADF, enum)</Code>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>ADF 100</TooltipText>
<MouseFlags>LeftSingle+RightSingle+WheelUp+WheelDown+DownRepeat</MouseFlags>
<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 ==
if{ (L:HUNADF, enum) -- 0 max (>L:HUNADF, enum) (>K:ADF_100_DEC) 1 (>L:XMLSND14,enum) }
(L:HUNADF, enum) 20 == if{ 0 (>L:HUNADF, enum) }
(M:Event) 'RightSingle' scmp 0 ==
if{ (L:HUNADF, enum) ++ 20 min (>L:HUNADF, enum) (>K:ADF_100_INC) 1 (>L:XMLSND14,enum) }
(L:HUNADF, enum) 0 == if{ 20 (>L:HUNADF, enum) }
(M:Event) 'WheelDown' scmp 0 ==
if{ (L:HUNADF, enum) -- 0 max (>L:HUNADF, enum) (>K:ADF_100_DEC) 1 (>L:XMLSND14,enum) }
(L:HUNADF, enum) 20 == if{ 0 (>L:HUNADF, enum) }
(M:Event) 'WheelUp' scmp 0 ==
if{ (L:HUNADF, enum) ++ 20 min (>L:HUNADF, enum) (>K:ADF_100_INC) 1 (>L:XMLSND14,enum) }
(L:HUNADF, enum) 0 == if{ 20 (>L:HUNADF, enum) }
</CallbackCode>
</MouseRect>
</PartInfo>
Hi Mr.Bill!For example, suppose you have a variable with a range of -100 to +100 for it's output.
Thank you Tom, but how can I do that?Hi,
The SDK has much of the information on default variable keyframes. And yes, you can create your own L: variables with any keyframe setup you want.