<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can i Limit setdriven Attribute. in Maya Animation and Rigging Forum</title>
    <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11540435#M3041</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Minimum/Maximum attributes are only seperately keyable attributes for translates (translation, rotation,scale) but not for custom attributes, so the min and max of a custom attribute can't be keyed using a set driven key.&lt;/P&gt;&lt;P&gt;But there are ways to almost achieve what you want. The limit on your Value attribute will sadly stay the same, but the Limit on TransX of your group will change.&lt;/P&gt;&lt;P&gt;Since your recieving Attribute is a Translate, you can simply drive its the Min Max attributes of your recieving Attribute with your driven Key. For this you just need to make the Attributes "Min Trans XLimit" and "Max Trans XLimit" keyable in the Channelcontrol. And then you can use the set driven key on them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Driven_Min_Max.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1137684iBCC63845F8BAE608/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Driven_Min_Max.png" alt="Driven_Min_Max.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Now this would not be possible if the attribute you drive isn't a transform. But in that case you can use something called a clamp node to limit the range of the attribute that is received.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clamp_Min_Max.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1137671iA9DC0DA8C21A3071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Clamp_Min_Max.png" alt="Clamp_Min_Max.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The clamp node filters out all values of "output R" that are below "Min R" and above "Max R" therefore also limiting how far your recieving attriubte will go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 08:49:06 GMT</pubDate>
    <dc:creator>Kahylan</dc:creator>
    <dc:date>2022-11-09T08:49:06Z</dc:date>
    <item>
      <title>How can i Limit setdriven Attribute.</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11540117#M3040</link>
      <description>&lt;P&gt;Hi there I have a question while make setdriven&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;situation is&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have nurbs Controller and object group&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="help.jpg" style="width: 962px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1137650i1DBF3F1EACFCE697/image-size/large?v=v2&amp;amp;px=999" role="button" title="help.jpg" alt="help.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i want is,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If enum select Minus, Value attribute have limit -10~0, and if enum All, Value -10~10, enum Plus, Value 0~10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I think it has It's a very easy solution but I can't how to resolve it.... how can i limit custom value in attribute??&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;thank you for your answer!!&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Nov 2022 03:51:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11540117#M3040</guid>
      <dc:creator>dwlee8291</dc:creator>
      <dc:date>2022-11-09T03:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can i Limit setdriven Attribute.</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11540435#M3041</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Minimum/Maximum attributes are only seperately keyable attributes for translates (translation, rotation,scale) but not for custom attributes, so the min and max of a custom attribute can't be keyed using a set driven key.&lt;/P&gt;&lt;P&gt;But there are ways to almost achieve what you want. The limit on your Value attribute will sadly stay the same, but the Limit on TransX of your group will change.&lt;/P&gt;&lt;P&gt;Since your recieving Attribute is a Translate, you can simply drive its the Min Max attributes of your recieving Attribute with your driven Key. For this you just need to make the Attributes "Min Trans XLimit" and "Max Trans XLimit" keyable in the Channelcontrol. And then you can use the set driven key on them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Driven_Min_Max.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1137684iBCC63845F8BAE608/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Driven_Min_Max.png" alt="Driven_Min_Max.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Now this would not be possible if the attribute you drive isn't a transform. But in that case you can use something called a clamp node to limit the range of the attribute that is received.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clamp_Min_Max.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1137671iA9DC0DA8C21A3071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Clamp_Min_Max.png" alt="Clamp_Min_Max.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The clamp node filters out all values of "output R" that are below "Min R" and above "Max R" therefore also limiting how far your recieving attriubte will go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:49:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11540435#M3041</guid>
      <dc:creator>Kahylan</dc:creator>
      <dc:date>2022-11-09T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can i Limit setdriven Attribute.</title>
      <link>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11542723#M3042</link>
      <description>I'm sad it doesn't work out what i want. but your solution is impressive. thanks to your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 10 Nov 2022 05:13:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-animation-and-rigging-forum/how-can-i-limit-setdriven-attribute/m-p/11542723#M3042</guid>
      <dc:creator>dwlee8291</dc:creator>
      <dc:date>2022-11-10T05:13:24Z</dc:date>
    </item>
  </channel>
</rss>

