<?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: Robot-API: create load 3 points surface in Robot Structural Analysis Forum</title>
    <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098819#M45529</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works like here on your file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/a496c02a-31cc-4752-9979-303e478cc692" width="696" height="655" frameborder="0" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2017 08:59:50 GMT</pubDate>
    <dc:creator>Rafal.Gaweda</dc:creator>
    <dc:date>2017-05-22T08:59:50Z</dc:date>
    <item>
      <title>Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7094722#M45523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I'd like to create record type load 3 Points Surface with API (avec VBA):&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 1.JPG" style="width: 660px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/357868iA8E0FC49F74B0254/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 1.JPG" alt="Capture 1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know how to set the 3 points (I_3PRV_N1, I_3PRV_N3, I_3PRV_N3). I have tried to give the node number but not work.&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, I have tried to do this manually, it doesn't work neither, see the message below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 630px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/357869iDDD463C2DE7D1E1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HUA Van Dong&lt;/P&gt;&lt;P&gt;Structures Ile-de-France&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 06:59:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7094722#M45523</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-19T06:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7094907#M45524</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;Please take a look at attached example macro&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 11:48:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7094907#M45524</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-22T11:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7094937#M45525</link>
      <description>&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your reply. It's clair and word your exemple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;HUA Van Dong&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 08:53:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7094937#M45525</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-19T08:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7095509#M45526</link>
      <description>&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have tested your exemple, it create well the contour loads, but when the model is calculated, these loads are not taken in account (with message error).&lt;/P&gt;&lt;P&gt;In fact, it seems that the contour is not closed.&lt;/P&gt;&lt;P&gt;And when I closed the contour manually in Robot Interface (right click on the load and using the property of load), it works well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think that we have to add a code to close the contour, but how to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;HUA van Dong&lt;/P&gt;&lt;P&gt;Structures Ile-de-France&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 13:38:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7095509#M45526</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-19T13:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098692#M45527</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example macro works with no problem (check case number, panel number, panel geometry, contour points coordinates)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3p.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/358515iE0C6BAD21A12E016/image-size/large?v=v2&amp;amp;px=999" role="button" title="3p.jpg" alt="3p.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 07:36:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098692#M45527</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-22T07:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098794#M45528</link>
      <description>&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The macro create the contour load as we can see before Robot calculate.&lt;/P&gt;&lt;P&gt;But when Robot calculate, it dones'nt recognize this contour load (message error): I attache here the model in which there are the contour load created by API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I haved explained before, I have to close the contour load manually with&amp;nbsp;Robot Interface (right click on the load and using the property of load), Robot recognize this contour load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think that we have to add a code in API to close the contour, but how to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;HUA van Dong&lt;/P&gt;&lt;P&gt;Structures Ile-de-France&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:35:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098794#M45528</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-22T08:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098819#M45529</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works like here on your file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/a496c02a-31cc-4752-9979-303e478cc692" width="696" height="655" frameborder="0" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:59:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098819#M45529</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-22T08:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098891#M45530</link>
      <description>&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tested the origin of my model? Is-there the message error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, you can see the video of sreencast that I test yout API, you will see the error message (and there are NO REACTION in theses cases, it means that the loads are not taken in account)).&lt;/P&gt;&lt;P&gt;When I close manual the contour load, there is no longer error message and there are REACTION.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the video: &lt;A href="http://autode.sk/2qGpR4u" target="_blank"&gt;http://autode.sk/2qGpR4u&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'd like to close the contour load it with API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 09:52:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098891#M45530</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-22T09:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098894#M45531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I have seen message in your original file.&lt;/P&gt;
&lt;P&gt;That's why I deleted these two records from Loads table before recording my video&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 09:54:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098894#M45531</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-22T09:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098900#M45532</link>
      <description>&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But do you know why there are the message error in my case (you can see them in my video) and the contour loads creating by API are not taken in account?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 10:00:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7098900#M45532</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-22T10:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7099077#M45533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My mistake I posted different file version than I used.&lt;/P&gt;
&lt;P&gt;One line in missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add it to the code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;rec_1.SetVector 0, 0, 1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 11:44:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7099077#M45533</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-22T11:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7099093#M45534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/690370"&gt;@hvdsidf&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Correct example attached.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 11:49:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7099093#M45534</guid>
      <dc:creator>Rafal.Gaweda</dc:creator>
      <dc:date>2017-05-22T11:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7099193#M45535</link>
      <description>&lt;P&gt;Hi Rafal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well now.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, it is neccessary to add the below (for load in direction Z)&lt;/P&gt;&lt;P&gt;recContour.SetVector 0, 0, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thousand thanks,&lt;/P&gt;&lt;P&gt;HUA Van Dong&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 12:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/7099193#M45535</guid>
      <dc:creator>hvdsidf</dc:creator>
      <dc:date>2017-05-22T12:31:38Z</dc:date>
    </item>
    <item>
      <title>回复： Robot-API: create load 3 points surface</title>
      <link>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/10830701#M45536</link>
      <description>&lt;P&gt;For those who are trying to find how to do it in python, here is the example&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;	load_case = 2 # case number 1 should exist or it will fail
	m = structure.Cases.Delete(load_case) #delete the case to avoid doubling when reload
	#create case
	case_rob_type = IRobotCaseNature.I_CN_WIND
	case = structure.Cases.CreateSimple(load_case,load_name, case_rob_type, IRobotCaseAnalizeType.I_CAT_STATIC_LINEAR)
		
		
	loads =[]
	
	#create load
	load_nmb = case.Records.New(IRobotLoadRecordType.I_LRT_IN_3_POINTS)
	load = structure.Cases.Get(load_case).Records.Get(load_nmb)

	load.SetPoint(1,4.67, -5.00, 0.00) # point A, X,Y,Z
	load.SetPoint(2,2.40, -5.00, 2.67) # point B, X,Y,Z
	load.SetPoint(3,4.67, -2.72, 2.67) # point C, X,Y,Z

	load.SetValue(IRobotIn3PointsRecordValues.I_3PRV_LOCAL_SYSTEM,1) #1 means True
	load.SetValue(IRobotIn3PointsRecordValues.I_3PRV_PZ1,1000) #in Pa
	load.SetValue(IRobotIn3PointsRecordValues.I_3PRV_PZ2,2000)
	load.SetValue(IRobotIn3PointsRecordValues.I_3PRV_PZ3,3000)	

	loads.append(load)
	#apply load
	load.Objects.FromText(surfaces[0].Number)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 18 Dec 2021 09:43:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/robot-structural-analysis-forum/robot-api-create-load-3-points-surface/m-p/10830701#M45536</guid>
      <dc:creator>daniilZSZ8N</dc:creator>
      <dc:date>2021-12-18T09:43:44Z</dc:date>
    </item>
  </channel>
</rss>

