<?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: Using Dynamo nodes with the Revit API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13302262#M1428</link>
    <description>&lt;P&gt;alternatively, do it all in dynamo, take the C# portion up till the point you need Solid.ByUnion, write it as a zero-touch node. You will still need to convert to dynamo friendly objects, but that should be easier in Dynamo.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2025 20:51:12 GMT</pubDate>
    <dc:creator>ctm_mka</dc:creator>
    <dc:date>2025-02-05T20:51:12Z</dc:date>
    <item>
      <title>Using Dynamo nodes with the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13263925#M1424</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;Im coming with a background of the Revit API with C# and python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering if is there a way to take out some functions from Dynamo and use their implementation with the Revit API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, maybe look “under the hood” of Dynamo and see how a specific function is implemented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be more specific, for some reason in the Revit API the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;ExecuteBooleanOperation&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method doesn’t work, but in Dynamo it does (its called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;Solid.ByUnion&lt;/EM&gt;&lt;/FONT&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently the issue with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;ExecuteBooleanOperation&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the Revit API is familiar and all the suggested solutions for it requires complicated workarounds which I’m trying to avoid. I’m also trying to avoid writing my add-in using Dynamo as its going to be long and I’m not fluent in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried Running a python script up until the point where I have to use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;Solid.ByUnion&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;node, but the node did not accept my array of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;Solid&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instances. it seems that the type of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;Solid&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;in Dynamo is not the same type as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#333399"&gt;&lt;EM&gt;Solid&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the Revit API. Im not sure about it but it seems like the Dynamo does not uses the same classes as the Revit API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if possible and someone can point me in the right direction on how to extract a function from Dynamo please.&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="amirdU8TAR_0-1737013717460.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1455479iA8E54A15BBDB5348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amirdU8TAR_0-1737013717460.png" alt="amirdU8TAR_0-1737013717460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 07:54:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13263925#M1424</guid>
      <dc:creator>amir.dU8TAR</dc:creator>
      <dc:date>2025-01-16T07:54:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: Using Dynamo nodes with the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13264037#M1425</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12720329"&gt;@amir.dU8TAR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i think it should help&amp;nbsp;&lt;A href="https://www.autodesk.com/autodesk-university/class/Exploring-Dynamo-API-C-2018#presentation" target="_blank"&gt;Exploring the Dynamo API with C# | Autodesk University&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Nikolai Davydov&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 08:52:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13264037#M1425</guid>
      <dc:creator>Niko_Davydov</dc:creator>
      <dc:date>2025-01-16T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using Dynamo nodes with the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13265312#M1426</link>
      <description>&lt;P&gt;Dynamo Geometries are different than Revit Geometries. The Solid.ByUnion method of Dynamo takes Dynamo solids as an input not Revit geometries. what you will have to do is in your code maybe load dynamo libraries. Extract geometries of your Revit Elements and convert them into Dynamo geometries do the tasks that you need to do and convert the resulting geometries back to Revit geometries and use them as you want.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 16:30:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13265312#M1426</guid>
      <dc:creator>sensiblehira</dc:creator>
      <dc:date>2025-01-16T16:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Dynamo nodes with the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13301234#M1427</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9483339"&gt;@sensiblehira&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8164407"&gt;@Niko_Davydov&lt;/a&gt;&amp;nbsp;Thank you guys, I will look into this&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 13:00:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13301234#M1427</guid>
      <dc:creator>amir.dU8TAR</dc:creator>
      <dc:date>2025-02-05T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using Dynamo nodes with the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13302262#M1428</link>
      <description>&lt;P&gt;alternatively, do it all in dynamo, take the C# portion up till the point you need Solid.ByUnion, write it as a zero-touch node. You will still need to convert to dynamo friendly objects, but that should be easier in Dynamo.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 20:51:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-dynamo-nodes-with-the-revit-api/m-p/13302262#M1428</guid>
      <dc:creator>ctm_mka</dc:creator>
      <dc:date>2025-02-05T20:51:12Z</dc:date>
    </item>
  </channel>
</rss>

