<?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 Help with setting rebar layout rule in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8648059#M43798</link>
    <description>&lt;P&gt;Revit 2018 API and versions prior had the following methods which were removed with the release of the 2019 API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsFixedNumber()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsMaximumSpacing()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsMinimumClearSpacing()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsNumberWithSpacing()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsSingle()&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I have been trying to change the layout rule setting for a set of rebars without any success. Is there any replacement for the above mentioned methods that I do not know of? Could someone explain how one sets the layout rule for a given rebar element with Revit 2019 API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will be grateful for any assistance offered.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 10:52:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-10T10:52:44Z</dc:date>
    <item>
      <title>Help with setting rebar layout rule</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8648059#M43798</link>
      <description>&lt;P&gt;Revit 2018 API and versions prior had the following methods which were removed with the release of the 2019 API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsFixedNumber()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsMaximumSpacing()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsMinimumClearSpacing()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsNumberWithSpacing()&lt;/LI&gt;
&lt;LI&gt;Autodesk.Revit.DB.Structure.Rebar.SetLayoutAsSingle()&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I have been trying to change the layout rule setting for a set of rebars without any success. Is there any replacement for the above mentioned methods that I do not know of? Could someone explain how one sets the layout rule for a given rebar element with Revit 2019 API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will be grateful for any assistance offered.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 10:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8648059#M43798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-10T10:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting rebar layout rule</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8694270#M43799</link>
      <description>&lt;P&gt;I have the same problem. Those functions are replaced to the RebarFreeFormAccessor class but I get SEHException every time if I try to use those functions.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 16:46:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8694270#M43799</guid>
      <dc:creator>Sydra7</dc:creator>
      <dc:date>2019-03-29T16:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting rebar layout rule</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8698322#M43800</link>
      <description>&lt;P&gt;So the free form rebar is just full of bugs. I think the api functions are not even tested once. I recreated the rebar as shape driven rebar then I called the&lt;/P&gt;
&lt;PRE style="font-family: Consolas; font-size: 13px; color: black; background: white;"&gt;&lt;SPAN style="color: navy;"&gt;rebar&lt;/SPAN&gt;.&lt;SPAN style="color: #880000;"&gt;GetShapeDrivenAccessor&lt;/SPAN&gt;()&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;This accessor allowed me to use the&lt;/P&gt;
&lt;PRE style="font-family: Consolas; font-size: 13px; color: black; background: white;"&gt;&lt;SPAN style="color: navy;"&gt;accessor&lt;/SPAN&gt;.&lt;SPAN style="color: #880000;"&gt;SetLayoutAsMaximumSpacing&lt;/SPAN&gt;(&lt;SPAN style="color: navy;"&gt;spacing&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN style="color: navy;"&gt;arrayLength&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;);
&lt;/PRE&gt;
&lt;P&gt;function without SEHExceptions. So it is working.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 13:04:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8698322#M43800</guid>
      <dc:creator>Sydra7</dc:creator>
      <dc:date>2019-04-01T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting rebar layout rule</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8971575#M43801</link>
      <description>&lt;P&gt;hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;have a look at line ~400:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/tt-acm/DynamoForRebar/blob/master/src/DynamoRebar/Nodes.cs" target="_blank"&gt;https://github.com/tt-acm/DynamoForRebar/blob/master/src/DynamoRebar/Nodes.cs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 15:29:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/help-with-setting-rebar-layout-rule/m-p/8971575#M43801</guid>
      <dc:creator>Thommy_</dc:creator>
      <dc:date>2019-08-17T15:29:52Z</dc:date>
    </item>
  </channel>
</rss>

