<?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: script to change output of Display Coordiantes in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/script-to-change-output-of-display-coordiantes/m-p/7023990#M12965</link>
    <description>&lt;P&gt;Hi there, so it looks like you're asking a couple of things:&lt;/P&gt;
&lt;P&gt;- converting decimal numbers to hex&lt;/P&gt;
&lt;P&gt;- setting the coordinates display in Max&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll point you to some resources that might help get you going in MAXScript.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For converting decimals to hex, you can convert decimal integers to hex using bit.intAsHex. &amp;nbsp;See this topic for more information: &lt;A href="http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_B57EA575_DCDE_42F5_9D30_88E3EB41F350_htm" target="_blank"&gt;http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_B57EA575_DCDE_42F5_9D30_88E3EB41F350_htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For setting the coordinates display, you can use setStatusXYZ() - see: &amp;nbsp;&lt;A href="http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_3EED3E7C_D7BB_4160_99BB_82B7872CA86D_htm" target="_blank"&gt;http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_3EED3E7C_D7BB_4160_99BB_82B7872CA86D_htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, it doesn't look like you provide a custom format, and hex is not supported. &amp;nbsp;A possible solution would be to creating your own rollup in the UI and display the required hex value there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Drew&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 15:50:32 GMT</pubDate>
    <dc:creator>drew_avis</dc:creator>
    <dc:date>2017-04-18T15:50:32Z</dc:date>
    <item>
      <title>script to change output of Display Coordiantes</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/script-to-change-output-of-display-coordiantes/m-p/6996085#M12964</link>
      <description>&lt;P&gt;Greetings, I'm wondering if there's a way I change the output values for coordinate display window at the bottom of the screen to be HEX?.&lt;BR /&gt;&lt;BR /&gt;An example of a typical&amp;nbsp;coordinate display is in float value like this:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;: 13.880514&lt;STRONG&gt; Y&lt;/STRONG&gt;: 0.0112 &lt;STRONG&gt;Z&lt;/STRONG&gt;: -9795.024&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need to have the coordinate display window multiply these&amp;nbsp;values by 1000 and then make a simple conversion. Example of conversion:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;X = 13.880514 x 1000 = &lt;STRONG&gt;13880.514&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;The value of &lt;STRONG&gt;13880.514&lt;/STRONG&gt; converted to HEX is:&lt;STRONG&gt; 46 58 E2 0E&lt;/STRONG&gt;, and is in Big Endian byte order, but&amp;nbsp;I need it in little Endian like this &lt;STRONG&gt;0E E2 58 46&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there a script, pluggin, or method I could do to make this work?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 00:14:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/script-to-change-output-of-display-coordiantes/m-p/6996085#M12964</guid>
      <dc:creator>RadioRahim</dc:creator>
      <dc:date>2017-04-05T00:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: script to change output of Display Coordiantes</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/script-to-change-output-of-display-coordiantes/m-p/7023990#M12965</link>
      <description>&lt;P&gt;Hi there, so it looks like you're asking a couple of things:&lt;/P&gt;
&lt;P&gt;- converting decimal numbers to hex&lt;/P&gt;
&lt;P&gt;- setting the coordinates display in Max&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll point you to some resources that might help get you going in MAXScript.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For converting decimals to hex, you can convert decimal integers to hex using bit.intAsHex. &amp;nbsp;See this topic for more information: &lt;A href="http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_B57EA575_DCDE_42F5_9D30_88E3EB41F350_htm" target="_blank"&gt;http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_B57EA575_DCDE_42F5_9D30_88E3EB41F350_htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For setting the coordinates display, you can use setStatusXYZ() - see: &amp;nbsp;&lt;A href="http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_3EED3E7C_D7BB_4160_99BB_82B7872CA86D_htm" target="_blank"&gt;http://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_3EED3E7C_D7BB_4160_99BB_82B7872CA86D_htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, it doesn't look like you provide a custom format, and hex is not supported. &amp;nbsp;A possible solution would be to creating your own rollup in the UI and display the required hex value there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Drew&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 15:50:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/script-to-change-output-of-display-coordiantes/m-p/7023990#M12965</guid>
      <dc:creator>drew_avis</dc:creator>
      <dc:date>2017-04-18T15:50:32Z</dc:date>
    </item>
  </channel>
</rss>

