<?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 How to get object dimensions using python in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-object-dimensions-using-python/m-p/9630811#M6571</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I just try to get object dimensions using python code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="max01.PNG" style="width: 408px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/794424iA0E2863636E6258F/image-size/large?v=v2&amp;amp;px=999" role="button" title="max01.PNG" alt="max01.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to get that x, y, z after access Inode..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I access Object thru Inode? but Object doesn't have dimentions property.. (&lt;A href="https://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__py_ref_class_max_plus_1_1_object_html" target="_blank"&gt;https://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__py_ref_class_max_plus_1_1_object_html&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;(GetObject, GetBaseObject, GetObjectRef which one can access to get dimensions?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jul 2020 14:58:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-12T14:58:31Z</dc:date>
    <item>
      <title>How to get object dimensions using python</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-object-dimensions-using-python/m-p/9630811#M6571</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I just try to get object dimensions using python code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="max01.PNG" style="width: 408px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/794424iA0E2863636E6258F/image-size/large?v=v2&amp;amp;px=999" role="button" title="max01.PNG" alt="max01.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to get that x, y, z after access Inode..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should I access Object thru Inode? but Object doesn't have dimentions property.. (&lt;A href="https://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__py_ref_class_max_plus_1_1_object_html" target="_blank"&gt;https://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__py_ref_class_max_plus_1_1_object_html&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;(GetObject, GetBaseObject, GetObjectRef which one can access to get dimensions?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 14:58:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-object-dimensions-using-python/m-p/9630811#M6571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-12T14:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get object dimensions using python</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-object-dimensions-using-python/m-p/9631011#M6572</link>
      <description>&lt;P&gt;because for modern versions of 3DS MAX only &lt;STRONG&gt;pymxs&lt;/STRONG&gt; is available, the dimension can be obtained as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;import pymxs
rt = pymxs.runtime
n = rt.selection[0]
#local:
bb = rt.nodeLocalBoundingBox(n) 
bb[1] - bb[0]
#or world:
n.max - n.min&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 18:25:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/how-to-get-object-dimensions-using-python/m-p/9631011#M6572</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2020-07-12T18:25:55Z</dc:date>
    </item>
  </channel>
</rss>

