<?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: RSA API vs .STR : slower or faster ? in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3748712#M79597</link>
    <description>&lt;P&gt;OK, Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2013 03:49:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-09T03:49:17Z</dc:date>
    <item>
      <title>RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746000#M79590</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a cable net structure. I have in my model 529 nodes and 1016 bars. Each bar is a cable element and has a specific cable definition (section and relative dilatation), so I have 1016 different cable sections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i use API code to build the RSA model (nodes, elements, sections, supports, prestress load), it is very very long (290 sec. !!). The part which seems to be very long is the cable section definition. It is weird, because if I save the project as a .rtd file, close RSA, and then re-open the .rtd file, the opening is much faster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create a temporary .str file to do the same, and then import it and delete the file when importation is completed. For the same result, the calculation time falls to 16 sec, which is 20 times faster ! But still too slow. And I would like to avoid using the str format, as it is not improved anymore, and as syntax is different from API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is : is there a way to accelerate my code using only API (set RSA not visible for example), or do I have to keep using a .str temporary file ? And how can I speed my code if I work with the .str file ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:12:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746000#M79590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-04T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746039#M79591</link>
      <description>&lt;P&gt;have you tried dll?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/Autodesk-Robot-Structural/Creating-DLL-for-API-and-making-it-available-for-Robot-menu/m-p/3357991/highlight/true#M3141" target="_blank"&gt;http://forums.autodesk.com/t5/Autodesk-Robot-Structural/Creating-DLL-for-API-and-making-it-available-for-Robot-menu/m-p/3357991/highlight/true#M3141&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you use cache?&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/45609i55470439EFB9EDDB/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="cache.jpg" title="cache.jpg" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2013 14:00:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746039#M79591</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-01-04T14:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746521#M79593</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to use cache, as follow :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim cache As RobotStructureCache&lt;BR /&gt;cache = Robot.Project.Structure.CreateCache()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(...)section definition for Toile1, Toile2, ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For i = 0 To tabElts.GetLength(0) - 1&lt;BR /&gt;cache.SetBarLabel(i + 1, IRobotLabelType.I_LT_BAR_CABLE, "Toile " &amp;amp; i + 1)&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robot.Project.Structure.ApplyCache(cache)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No error message, but it does not work. What's wrong ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2013 23:36:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746521#M79593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-04T23:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746965#M79594</link>
      <description>&lt;P&gt;Sorry, unfortunately applying cable lables by cache does not work so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 09:26:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3746965#M79594</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-01-07T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3747464#M79595</link>
      <description>&lt;P&gt;OK, that is too bad...&lt;/P&gt;&lt;P&gt;But is my cript correct for another type of bar ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And will the .str format be still supported by RSA in the future ?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 18:19:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3747464#M79595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-07T18:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3747855#M79596</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;EM&gt;guillaumeniel wrote:&lt;/EM&gt;&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;OK, that is too bad...&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;But is my cript correct for another type of bar ?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems ok.&lt;/P&gt;
&lt;P&gt;Example code:&lt;/P&gt;
&lt;PRE&gt;Dim robot_cache As RobotStructureCache
      robot_cache = robot.Project.Structure.createcache


      For i As int32 = 0 To examplenumber
        robot_cache.AddNode(nodenum, X, Y, Z)
        robot_cache.AddNode(nodenum+1, X1, Y1, Z1)

        robot_cache.AddBar(barnum, nodenum, nodenum + 1, "", "", 0)  'Generate bar in cache
        robot_cache.SetBarLabel(barnum, IRobotLabelType. I_LT_BAR_SECTION, "HEA100")
      Next


      'Create the Robot objects from the cache
      robot.Project.Structure.ApplyCache(robot_cache)
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;And will the .str format be still supported by RSA in the future ?&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;It is \ will be preserved in the state as is now.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:40:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3747855#M79596</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-01-08T08:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3748712#M79597</link>
      <description>&lt;P&gt;OK, Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2013 03:49:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3748712#M79597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T03:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: RSA API vs .STR : slower or faster ?</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3817145#M79598</link>
      <description>&lt;P&gt;cache for cables corrected for this syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rc.AddBar barnumber, node1, node2, "Cable_1", "STEEL"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in SP4 for Robot 2013&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2013 10:54:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/rsa-api-vs-str-slower-or-faster/m-p/3817145#M79598</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2013-03-28T10:54:53Z</dc:date>
    </item>
  </channel>
</rss>

