<?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: Nodes Rotations - Local Axes in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459658#M82538</link>
    <description>You could rotate the whole structure in a way that for that particular support the global corrdinate system will match the bar´s local coordinate system. Of course, if you have 4 different supports regarding bar´s local directions ,then you´ll have to run 4 different models.</description>
    <pubDate>Wed, 16 May 2012 14:18:36 GMT</pubDate>
    <dc:creator>Rafacascudo</dc:creator>
    <dc:date>2012-05-16T14:18:36Z</dc:date>
    <item>
      <title>Nodes Rotations - Local Axes (API)</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459442#M82535</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to extract node rotations data from my model. The problem is that only rotations according to global coordinate system are available. In several cases, I need the local support displacements and rotations to find &lt;SPAN&gt;suitable bearing device.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see in following, the node rotations from the supports don't match the coordinates from the adjacent bar in which I need them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/28622i792882A4556A7B1A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Local Rotations1.PNG" title="Local Rotations1.PNG" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I some how get the data I need? Even if I create a different support oriented accordingly the bar axis, I don't see where I get the rotations in that coordinates...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In attach I put the&amp;nbsp;refereed&amp;nbsp;model.&lt;/P&gt;
&lt;P&gt;I used a worksheet &amp;nbsp;to extract this data by API based on previous post on the forum, I also attached it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 13:43:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459442#M82535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-17T13:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459464#M82536</link>
      <description>&lt;P&gt;Nodal Displacement results are presented in Global CS&lt;/P&gt;
&lt;P&gt;Reactions can be reported in Local coordinate system of support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/28624i152A192CD0702F1C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="realoc.jpg" title="realoc.jpg" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2012 12:28:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459464#M82536</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2012-05-16T12:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459616#M82537</link>
      <description>&lt;P&gt;&lt;EM&gt;"Nodal Displacement results are presented in Global CS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Reactions can be reported in Local coordinate system of support."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that. My question is if is possible to get the Node Displacements / Rotations in some LOCAL CS which I define.&lt;/P&gt;&lt;P&gt;Take for example, when I need to define a simple pinned support is some LOCAL CS, maybe I don't need only the reactions values.&lt;/P&gt;&lt;P&gt;Like the example in the picture below, if nodes 3 and 7 represent the bearing equipment fixed on XX and free on YY oriented towards the frame center, besides the reaction values I have also to know &amp;nbsp;the displacements/rotations in those nodes, in that particular CS.&lt;/P&gt;&lt;P&gt;For this simple example, I should check the allowed displacements on YY, and get no displacements on XX.&lt;/P&gt;&lt;P&gt;&lt;IMG align="center" title="Example.PNG" alt="Example.PNG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/28628i7E5B319FA14386FC/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;Does the program store internally this data somewhere??...&lt;/P&gt;&lt;P&gt;I already try to get them by the bar deflection tables, but only the displacements on LOCAL CS of the bar are presented, don't let me to get rotations on start and end node of the bar in it LOCAL CS.&lt;/P&gt;&lt;P&gt;Please, if what I'm talking about is not possible, exploit some other indirect ways to get these rotations and illuminate me.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2012 13:58:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459616#M82537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-16T13:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459658#M82538</link>
      <description>You could rotate the whole structure in a way that for that particular support the global corrdinate system will match the bar´s local coordinate system. Of course, if you have 4 different supports regarding bar´s local directions ,then you´ll have to run 4 different models.</description>
      <pubDate>Wed, 16 May 2012 14:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459658#M82538</guid>
      <dc:creator>Rafacascudo</dc:creator>
      <dc:date>2012-05-16T14:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459670#M82539</link>
      <description>&lt;P&gt;Yes, in the particullary case I'm studing I have 48 different supports (different LOCAL CS)....&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://forums.autodesk.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2012 14:22:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459670#M82539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-16T14:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459694#M82540</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I know that. My question is if is possible to get the Node Displacements / Rotations in some LOCAL CS which I define.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Only by API:&lt;/P&gt;
&lt;P&gt;- get transformation matrix for (each) bar:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim mtx(3, 3) As Double,&amp;nbsp;&lt;BR /&gt; Bar.GetLocalMtx mtx(0, 0), mtx(0, 1), mtx(0, 2), mtx(1, 0), mtx(1, 1), mtx(1, 2), mtx(2, 0), mtx(2, 1), mtx(2, 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- then transform results from GCS to LCS this way I guess:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'F(x,y,z)&lt;BR /&gt;newvals(0) = vals(0) * mtx(0, 0) + vals(1) * mtx(0, 1) + vals(2) * mtx(0, 2)&lt;BR /&gt;newvals(1) = vals(0) * mtx(1, 0) + vals(1) * mtx(1, 1) + vals(2) * mtx(1, 2)&lt;BR /&gt;newvals(2) = vals(0) * mtx(2, 0) + vals(1) * mtx(2, 1) + vals(2) * mtx(2, 2)&lt;BR /&gt;'M(x,y,z)&lt;BR /&gt;newvals(3) = vals(3) * mtx(0, 0) + vals(4) * mtx(0, 1) + vals(5) * mtx(0, 2)&lt;BR /&gt;newvals(4) = vals(3) * mtx(1, 0) + vals(4) * mtx(1, 1) + vals(5) * mtx(1, 2)&lt;BR /&gt;newvals(5) = vals(3) * mtx(2, 0) + vals(4) * mtx(2, 1) + vals(5) * mtx(2, 2)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 16 May 2012 14:31:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459694#M82540</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2012-05-16T14:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459702#M82541</link>
      <description>&lt;P&gt;I'll try and reply later. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2012 14:33:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459702#M82541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-16T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459990#M82542</link>
      <description>&lt;P&gt;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://forums.autodesk.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;I cannot make the API to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dim mtx(3, 3) As Double&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bar.GetLocalMtx mtx(0, 0), mtx(0, 1), mtx(0, 2), mtx(1, 0), mtx(1, 1), mtx(1, 2), mtx(2, 0), mtx(2, 1), mtx(2, 2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'transform results from GCS to LCS this way I guess:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; 'F(x,y,z)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;newvals(0) = vals(0) * mtx(0, 0) + vals(1) * mtx(0, 1) + vals(2) * mtx(0, 2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;newvals(1) = vals(0) * mtx(1, 0) + vals(1) * mtx(1, 1) + vals(2) * mtx(1, 2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;newvals(2) = vals(0) * mtx(2, 0) + vals(1) * mtx(2, 1) + vals(2) * mtx(2, 2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'M(x,y,z)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;newvals(3) = vals(3) * mtx(0, 0) + vals(4) * mtx(0, 1) + vals(5) * mtx(0, 2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;newvals(4) = vals(3) * mtx(1, 0) + vals(4) * mtx(1, 1) + vals(5) * mtx(1, 2)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;newvals(5) = vals(3) * mtx(2, 0) + vals(4) * mtx(2, 1) + vals(5) * mtx(2, 2)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copy-past the code you wrote, but the function is not define. Are the F and M values forces of the bar?&lt;/P&gt;&lt;P&gt;In previous API that I attached, the worksheet "Forces" are made to extract forces from bars. Suppose the node displacements should work with RobotBarDisplacementServer...&lt;/P&gt;&lt;P&gt;Could you please use that example&amp;nbsp;to&amp;nbsp;demonstrate how to transform the rotations in local coordinates of the bar and put them on the sheet?&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2012 16:04:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3459990#M82542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-16T16:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3460918#M82543</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;EM&gt;&lt;FONT color="#dadada"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;
&lt;P&gt;&lt;EM&gt;I cannot make the API to work.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I copy-past the code you wrote, but the function is not define. Are the F and M values forces of the bar?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;EM&gt;copy-past the code" - &lt;/EM&gt;too easy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; this was just example what and how to use, not exact code.&lt;/P&gt;
&lt;P&gt;This is general rule how to multiply such vector by such matrix&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First you need to find bar connected to node, then get matrix...&lt;/P&gt;
&lt;P&gt;I will write you code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 07:06:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3460918#M82543</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2012-05-17T07:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3460980#M82544</link>
      <description>&lt;P&gt;Nice!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I told you before, if the way to get that information is throw bar information, I will upgrade the worksheet4 "Displacements" in attachment. That get displacements for selected bars&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://forums.autodesk.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; Take a look on that if you don't mind.&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;</description>
      <pubDate>Thu, 17 May 2012 08:15:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3460980#M82544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-17T08:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3461402#M82545</link>
      <description>&lt;P&gt;Enjoy !&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 13:42:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3461402#M82545</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2012-05-17T13:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes Rotations - Local Axes</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3461602#M82546</link>
      <description>&lt;P&gt;Perfect!&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For future&amp;nbsp;&lt;SPAN&gt;developments, beside reactions values, nodal displacements according local axes of a defined support should be available.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 14:58:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/nodes-rotations-local-axes-api/m-p/3461602#M82546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-17T14:58:07Z</dc:date>
    </item>
  </channel>
</rss>

