<?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: Cannot create point loads in Revit 2024 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11918109#M12479</link>
    <description>&lt;P&gt;The example you are looking for is already in the RevitAPI.chm under PointLoad.Create, when you use that you should pick an analytical element not a physical one (such as FamilyInstance).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 15:33:18 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2023-04-24T15:33:18Z</dc:date>
    <item>
      <title>Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11915049#M12475</link>
      <description>&lt;P&gt;1.&amp;nbsp; The example to create point load in Revit 2024 API (structure) does not compile&lt;/P&gt;&lt;P&gt;public void CreatePointLoad(Document document)&lt;BR /&gt;{&lt;BR /&gt;// Define the location at which the PointLoad is applied. XYZ point = new XYZ(0, 0, 4);&lt;BR /&gt;// Define the 3d force. XYZ force = new XYZ(0, 0, -1);&lt;BR /&gt;// Define the 3d moment. XYZ moment = new XYZ(0, 0, 0);&lt;/P&gt;&lt;P&gt;PointLoad pointLoad = PointLoad.Create(document, point, force, moment, null, null);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Then I tried to first create a host, then assign a load to the host&lt;BR /&gt;FamilyInstance instance = _document.Create.NewFamilyInstance(curve, symbol, levelBase, structuralType);&lt;BR /&gt;bool isValid = PointLoad.IsValidHostId(_document, elementId);&lt;BR /&gt;pointLoad = PointLoad.Create(_document,instance.Id, xyz, xyzForce, xyzMoment, null);&lt;BR /&gt;I got error "hostElemId is not permitted to host this type of load".&lt;BR /&gt;Can someone show me how I can create a point load the correct way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 12:43:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11915049#M12475</guid>
      <dc:creator>junlin001</dc:creator>
      <dc:date>2023-04-23T12:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11916883#M12476</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3068308"&gt;@junlin001&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have reproduced the issue and raised it with the development team &lt;A href="https://autodesk.slack.com/archives/C0SR6NAP8/p1682317855990009" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;I will update once they respond.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 06:32:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11916883#M12476</guid>
      <dc:creator>moturi.magati.george</dc:creator>
      <dc:date>2023-04-24T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11917653#M12477</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3068308"&gt;@junlin001&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I received a response from the development team.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Starting with Revit 2024 you can create only hosted loads. This is the reason why for this method you get an error: PointLoad pointLoad = PointLoad.Create(document, point, force, moment, null, null). &lt;BR /&gt;&lt;BR /&gt;For the second case, where you pass host element id: accepted hosts are analytical members or analytical panels elements (this is the reason you get the error saying that "host is not permitted")&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:45:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11917653#M12477</guid>
      <dc:creator>moturi.magati.george</dc:creator>
      <dc:date>2023-04-24T12:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11917836#M12478</link>
      <description>&lt;P&gt;Thank you, Moturi.&amp;nbsp; Can you provide a simple example in c# or VB.NET here?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 13:47:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11917836#M12478</guid>
      <dc:creator>junlin001</dc:creator>
      <dc:date>2023-04-24T13:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11918109#M12479</link>
      <description>&lt;P&gt;The example you are looking for is already in the RevitAPI.chm under PointLoad.Create, when you use that you should pick an analytical element not a physical one (such as FamilyInstance).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 15:33:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11918109#M12479</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2023-04-24T15:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11920273#M12480</link>
      <description>&lt;P&gt;This is the document I can find:&amp;nbsp;&lt;A href="https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Discipline_Specific_Functionality_Structural_Engineering_Loads_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/RVT/2024/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Discipline_Specific_Functionality_Structural_Engineering_Loads_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The code sample there does not work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I download RevitAPI.chm?&amp;nbsp; I cannot find the file under the installation folder (C:\Program Files\Autodesk).&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 12:42:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11920273#M12480</guid>
      <dc:creator>junlin001</dc:creator>
      <dc:date>2023-04-25T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11924759#M12481</link>
      <description>&lt;P&gt;Thank you, however the only example I found in the PointLoad class in the RevitAPI.chm was:&amp;nbsp;Getinfo_PointLoad(PointLoad pointLoad) which does not illustrate the Create method. Any chance you could post the sample you were referring to?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 01:43:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11924759#M12481</guid>
      <dc:creator>pierre</dc:creator>
      <dc:date>2023-04-27T01:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create point loads in Revit 2024</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11932300#M12482</link>
      <description>&lt;P&gt;I was finally able to create a point load by&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First create an AnalyticalMember and pass its elementId in the following&lt;BR /&gt;2. use PointLoad.Create(_document, elementId, xyz, xyzForce, xyzMoment, null);&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 01:06:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-create-point-loads-in-revit-2024/m-p/11932300#M12482</guid>
      <dc:creator>junlin001</dc:creator>
      <dc:date>2023-05-01T01:06:52Z</dc:date>
    </item>
  </channel>
</rss>

