<?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: Number of segments in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11153481#M19251</link>
    <description>&lt;P&gt;Thanks for your prompt reply, My bad I was not aware of those parameters. I will double check them and perform another test this weekend. Cheers!&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 23:54:52 GMT</pubDate>
    <dc:creator>MiguelGT17</dc:creator>
    <dc:date>2022-05-06T23:54:52Z</dc:date>
    <item>
      <title>Number of segments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11148840#M19247</link>
      <description>&lt;P&gt;This set of rebars has been sketched as a free form.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MiguelGT17_1-1651725624198.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1063319iBFAA37E24762EBAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_1-1651725624198.png" alt="MiguelGT17_1-1651725624198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The wear fact is that revit lookup shows a single segment for this bar, which is not true&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MiguelGT17_0-1651725500376.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1063318i96889A1C7B4448C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_0-1651725500376.png" alt="MiguelGT17_0-1651725500376.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MiguelGT17_2-1651725669880.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1063320iDAC612BFD2064282/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_2-1651725669880.png" alt="MiguelGT17_2-1651725669880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;More over, the I&lt;SPAN&gt;sRebarInSection&lt;/SPAN&gt;(view) command always return false regardless of the view. So am not going to have the appropriate data when I sketch rebars as freeform?&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 04:44:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11148840#M19247</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-05-05T04:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Number of segments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11149034#M19248</link>
      <description>&lt;P&gt;And again:&amp;nbsp;This sounds like a request for some in-depth rebar API expertise beyond my limited ken, so I&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://autodesk.slack.com/archives/C0SR6NAP8/p1651735070039959" target="_blank" rel="nofollow noopener noreferrer"&gt;asked&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the devteam for you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 07:23:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11149034#M19248</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-05-05T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Number of segments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11150062#M19249</link>
      <description>&lt;P&gt;Thanks for your support Jeremy, I'll be more than glad to hear from you&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 15:03:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11150062#M19249</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-05-05T15:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Number of segments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11152051#M19250</link>
      <description>&lt;P&gt;As I can see in your images you have a free form rebar that has the Workshop Instructions parameter set to Keep Straight. This means that no matter what curves the free form has, it will always be matched with a straight shape (M_00).&lt;/P&gt;
&lt;P&gt;If you want the bar to be matched with other shapes, you should set the workshop parameter to Bend. One you set this option, each bar in the set will be matched with the existing rebar shapes from the project. If it doesn't match with any existing shapes, it will try to create new Rebar Shapes. If it can’t create new Rebar Shapes and error message will be posted and will continue to consider the bar as a straight one.&lt;/P&gt;
&lt;P&gt;For more details on how the shape matching is working &amp;nbsp;you can have a look on this: &lt;A href="https://knowledge.autodesk.com/support/revit/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Revit-Model/files/GUID-054A2971-BA2D-46BF-A508-3D805F1C2666-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/revit/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Revit-Model/files/GUID-054A2971-BA2D-46BF-A508-3D805F1C2666-htm.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rebar.IsRebarInSection(View view) returns true only if the view is a section or elevation and the view plane is cutting at least one of the rebar curves, false otherwise. This API function is the correspondent of this UI option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsRebarInSection.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1063892i630107A898417897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsRebarInSection.png" alt="IsRebarInSection.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 10:49:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11152051#M19250</guid>
      <dc:creator>StefanDobre</dc:creator>
      <dc:date>2022-05-06T10:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Number of segments</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11153481#M19251</link>
      <description>&lt;P&gt;Thanks for your prompt reply, My bad I was not aware of those parameters. I will double check them and perform another test this weekend. Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 23:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/number-of-segments/m-p/11153481#M19251</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-05-06T23:54:52Z</dc:date>
    </item>
  </channel>
</rss>

