<?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: boundingBox, in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12373315#M2471</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;H TF360,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF00FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Unfortunately, the problem has returned!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It is intermittent. The failed process can be successfully executed after restarting &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;The cause is probably embedded&amp;nbsp; deep in the &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt; kernel ... &lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt;like a rogue variable,&amp;nbsp; memory leaking&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Could it be possible to look '&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#33CCCC"&gt;under magnifying glasses&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;' on&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;CustomGraphicsEntity__get_boundingBox(self) &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;code?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 09:26:20 GMT</pubDate>
    <dc:creator>MichaelT_123</dc:creator>
    <dc:date>2023-11-13T09:26:20Z</dc:date>
    <item>
      <title>boundingBox,</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12371198#M2469</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi TF360,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving validation error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;#&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;'Traceback (most recent call last):\n File "C:\\Users\\MichaelT\\.vscode\\extensions\\ms-python.python-2023.20.0\\pythonFiles\\lib\\python\\debugpy\\_vendored\\pydevd\\_pydevd_bundle\\pydevd_resolver.py", line 189, in _get_py_dictionary\n attr = getattr(var, name)\n ^^^^^^^^^^^^^^^^^^\n File "C:\\Users/MichaelT/AppData/Local/Autodesk/webdeploy/production/????????????/Api/Python/packages\\adsk\\fusion.py", line 18463, in _get_boundingBox\n return _fusion.CustomGraphicsEntity__get_boundingBox(self)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: 2 : InternalValidationError : pNode\n'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;#&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The supplementary calculation of&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;boundingBox&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; from:&lt;/P&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;cgEnt.coordinates.coordinates&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;SPAN&gt;gives a proper result.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Any thoughts?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After additional investigation ... &lt;FONT color="#FF00FF"&gt;&lt;EM&gt;&lt;STRONG&gt;the additional info.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code &lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt;works on one data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; but for some reason &lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;does not on the another&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;Creation of &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;customGraphics&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; line seems to be a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; coords &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = adsk.fusion.CustomGraphicsCoordinates.create( vecCoords )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; isLineStrip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= True&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cgEnt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= cgGroup.addLines( coords, [], isLineStrip, vecStrip ) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# isLineStrip = True&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The types and lengths of arrays are the same,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type(vecStrip[0]) = &amp;lt;class 'int'&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type(vecCoords[0]) = &amp;lt;class 'float'&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The only difference that I can spot is that in failed data set&amp;nbsp;&lt;SPAN&gt;vecCoords array contains very small absolute numbers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5.064522930128136e-32&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-9.192413888621255e-32&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The rest is the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&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;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Michael&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 01:02:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12371198#M2469</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2023-11-12T01:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: boundingBox,</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12371578#M2470</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi TF360,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I squeezed/simplified the problem to three points only, invoking them via two independent paths.&lt;BR /&gt;They produced identical results in the log file! But one &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;bBox&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; always failed!&lt;BR /&gt;&lt;BR /&gt;Then, I closed the &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt; application, rebooted the computer, and started &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#993300"&gt;grilling&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#993300"&gt;&lt;STRONG&gt;the problem&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt; again.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Surprise, surprise&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; .... &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;all started working as required&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;. &lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;I am still perplexed&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; about the cause of the problem, but I am relieved that &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;things went back to normal, if there is such a thing!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#33CCCC"&gt;So Sleep Well &lt;FONT color="#000000"&gt;TF360&lt;/FONT&gt;!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 06:00:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12371578#M2470</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2023-11-12T06:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: boundingBox,</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12373315#M2471</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;H TF360,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF00FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Unfortunately, the problem has returned!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It is intermittent. The failed process can be successfully executed after restarting &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;The cause is probably embedded&amp;nbsp; deep in the &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt; kernel ... &lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt;like a rogue variable,&amp;nbsp; memory leaking&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Could it be possible to look '&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#33CCCC"&gt;under magnifying glasses&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;' on&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;CustomGraphicsEntity__get_boundingBox(self) &lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;code?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 09:26:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12373315#M2471</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2023-11-13T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: boundingBox,</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12374869#M2472</link>
      <description>&lt;P&gt;What kind of custom graphics entities are you creating? The problem might be dependent on that.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 21:25:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12374869#M2472</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2023-11-13T21:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: boundingBox,</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12374944#M2473</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi Mr Ekins,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... as stated in my first post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; coords &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = adsk.fusion.CustomGraphicsCoordinates.create( vecCoords )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; isLineStrip &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= True&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#FF00FF"&gt; cgEnt&lt;/FONT&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= cgGroup.addLines( coords, [], isLineStrip, vecStrip ) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# isLineStrip = True&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Regards&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;MichaelT&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Nov 2023 22:08:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/boundingbox/m-p/12374944#M2473</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2023-11-13T22:08:34Z</dc:date>
    </item>
  </channel>
</rss>

