<?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: Physics Property Joint: setting High and Low limits for XYZ rotation axis in MotionBuilder Forum</title>
    <link>https://forums.autodesk.com/t5/motionbuilder-forum/physics-property-joint-setting-high-and-low-limits-for-xyz/m-p/8177286#M1600</link>
    <description>&lt;P&gt;Ok, missed it the other day, but doing a dir() on the handle for that Joint Physical property reveals ".Components" as the one we need to fetch individual joint links.&lt;/P&gt;&lt;P&gt;So you can iterate through the components (joints) and assign them the values with something like this:&lt;/P&gt;&lt;PRE&gt;myLimits = FBVector3d(50, 40, 30)
for comp in myJointPhysProperty.Components:
    comp.PropertyList.Find('High Limits').Data = myLimits&lt;/PRE&gt;&lt;P&gt;On a side note, individual phys joint links can be accessed directly by FullName as listed in the navigator, i.e.&lt;/P&gt;&lt;PRE&gt;'PhysicalProperties::mylink_01_jt 0 Joint'&lt;/PRE&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Sat, 04 Aug 2018 01:39:08 GMT</pubDate>
    <dc:creator>KikoBarahona</dc:creator>
    <dc:date>2018-08-04T01:39:08Z</dc:date>
    <item>
      <title>Physics Property Joint: setting High and Low limits for XYZ rotation axis</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/physics-property-joint-setting-high-and-low-limits-for-xyz/m-p/8174927#M1599</link>
      <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking into&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;setting&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the high and low limits for a physics property Joint with Python.&lt;/P&gt;&lt;P&gt;So far I can get hold of the joint high and low limits from the property list, i.e.&lt;/P&gt;&lt;PRE&gt;physJoint_HighLimit = myProperty.PropertyList.Find("phys_null 0 Joint.High Limits")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately I can not get or set the values using Data or Value&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;physJoint_HighLimit.Data()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which returns&lt;/P&gt;&lt;PRE&gt;NotImplementedError: Unable to access the data for this type of property.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I've tried .GetMax and .GetMin, but they seem unrelated (they return 100 and 0)&lt;/P&gt;&lt;P&gt;How does one get hold of the XYZ values for this property?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 01:57:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/physics-property-joint-setting-high-and-low-limits-for-xyz/m-p/8174927#M1599</guid>
      <dc:creator>KikoBarahona</dc:creator>
      <dc:date>2018-08-03T01:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Physics Property Joint: setting High and Low limits for XYZ rotation axis</title>
      <link>https://forums.autodesk.com/t5/motionbuilder-forum/physics-property-joint-setting-high-and-low-limits-for-xyz/m-p/8177286#M1600</link>
      <description>&lt;P&gt;Ok, missed it the other day, but doing a dir() on the handle for that Joint Physical property reveals ".Components" as the one we need to fetch individual joint links.&lt;/P&gt;&lt;P&gt;So you can iterate through the components (joints) and assign them the values with something like this:&lt;/P&gt;&lt;PRE&gt;myLimits = FBVector3d(50, 40, 30)
for comp in myJointPhysProperty.Components:
    comp.PropertyList.Find('High Limits').Data = myLimits&lt;/PRE&gt;&lt;P&gt;On a side note, individual phys joint links can be accessed directly by FullName as listed in the navigator, i.e.&lt;/P&gt;&lt;PRE&gt;'PhysicalProperties::mylink_01_jt 0 Joint'&lt;/PRE&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 01:39:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/motionbuilder-forum/physics-property-joint-setting-high-and-low-limits-for-xyz/m-p/8177286#M1600</guid>
      <dc:creator>KikoBarahona</dc:creator>
      <dc:date>2018-08-04T01:39:08Z</dc:date>
    </item>
  </channel>
</rss>

