<?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: How do you use the API to convert a mesh to a bRepBody? in Fusion Support Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10848580#M66295</link>
    <description>&lt;P&gt;I got that by looking at the code itself.&amp;nbsp; I don't know if there is another way to find out what commands are called.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Dec 2021 15:43:09 GMT</pubDate>
    <dc:creator>jeff_strater</dc:creator>
    <dc:date>2021-12-29T15:43:09Z</dc:date>
    <item>
      <title>How do you use the API to convert a mesh to a bRepBody?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10846812#M66292</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can convert a mesh to a bRepBody manually using the GUI by using the "Mesh-&amp;gt;Convert Mesh" command.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wormsquiggle_0-1640707995140.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1005536i059174BFAE0CD938/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wormsquiggle_0-1640707995140.png" alt="wormsquiggle_0-1640707995140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to find the equivalent API methods to do the same. Do they exist?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw in this question (&lt;A href="https://forums.autodesk.com/t5/fusion-360-api-and-scripts/convert-mesh-to-brep-in-api/td-p/10238769" target="_blank"&gt;https://forums.autodesk.com/t5/fusion-360-api-and-scripts/convert-mesh-to-brep-in-api/td-p/10238769&lt;/A&gt;) that a solution might be to use the command line to perform the operation but when I try this it brings up a different window which I can't get to convert the mesh.&amp;nbsp;This is the same if I manually type the command without using the API at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command I am trying to use is "Commands.Start Mesh2BRepCommand". But I can't click OK on the menu.&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="wormsquiggle_1-1640708037024.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1005537i23A199C8E81755B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wormsquiggle_1-1640708037024.png" alt="wormsquiggle_1-1640708037024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first question is how can I use the API to convert a mesh to a bRepBody? (I'm using the c++ API but that probably doesn't matter)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My second question is how can I find a list of all arguments I can pass to the "Commands.Start"? I would assume all commands that can be accessed through the GUI would be callable here but I can't find a list of them. I tried "Commands.Start ConvertMeshCommand" but that does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 16:22:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10846812#M66292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-28T16:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use the API to convert a mesh to a bRepBody?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10846965#M66293</link>
      <description>&lt;P&gt;Converting from mesh to BRep is not directly supported in the API, as you've discovered.&amp;nbsp; You can use the "&lt;SPAN&gt;Commands.Start&lt;/SPAN&gt;" hack, as you've also discovered.&amp;nbsp; The reason why the "&lt;SPAN&gt;Mesh2BRepCommand&lt;/SPAN&gt;" command doesn't work is that is the old command, which is now deprecated. The new command is called "&lt;SPAN style="font-family: inherit;"&gt;ParaMeshConvertCommand&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;", so give that a try and see if it works.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 18:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10846965#M66293</guid>
      <dc:creator>jeff_strater</dc:creator>
      <dc:date>2021-12-28T18:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use the API to convert a mesh to a bRepBody?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10848009#M66294</link>
      <description>&lt;P&gt;Awesome thanks for your response! It worked for me. So that answers my first question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any information on my second question above? Is there anywhere that documents all the arguments that can be passed to the "commands.start" text command? It may help solve future problems I run into without needing to ask here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 09:40:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10848009#M66294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-29T09:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use the API to convert a mesh to a bRepBody?</title>
      <link>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10848580#M66295</link>
      <description>&lt;P&gt;I got that by looking at the code itself.&amp;nbsp; I don't know if there is another way to find out what commands are called.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 15:43:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-support-forum/how-do-you-use-the-api-to-convert-a-mesh-to-a-brepbody/m-p/10848580#M66295</guid>
      <dc:creator>jeff_strater</dc:creator>
      <dc:date>2021-12-29T15:43:09Z</dc:date>
    </item>
  </channel>
</rss>

