<?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 How to change Area Reinforcement Layers Property? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8835868#M41900</link>
    <description>&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;I'm looking for a way to change the Layers Property in a Structural Area Reinforcement object. Specifically, I have to changing the Exterior(Interior) Major(Minor) Bar Type and Spacing separately.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Layers property.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/644614iF4BD9B8B7761CC28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Layers property.png" alt="Layers property.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's easy to do with Revit User Interface, but I have no idea which class Revit API controlling this properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create Structural Area Reinforcement object with AreaReinforcement.Create() method, and I can select the bar type in there. But it sets the bar type for all four types at the same time.&lt;/P&gt;&lt;P&gt;Maybe I can set these property before creating an object?&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;P.S. Sorry for my bad English.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 09:15:39 GMT</pubDate>
    <dc:creator>AllianceElectro.ru_Khripach_A.A.</dc:creator>
    <dc:date>2019-06-06T09:15:39Z</dc:date>
    <item>
      <title>How to change Area Reinforcement Layers Property?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8835868#M41900</link>
      <description>&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;I'm looking for a way to change the Layers Property in a Structural Area Reinforcement object. Specifically, I have to changing the Exterior(Interior) Major(Minor) Bar Type and Spacing separately.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Layers property.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/644614iF4BD9B8B7761CC28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Layers property.png" alt="Layers property.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's easy to do with Revit User Interface, but I have no idea which class Revit API controlling this properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create Structural Area Reinforcement object with AreaReinforcement.Create() method, and I can select the bar type in there. But it sets the bar type for all four types at the same time.&lt;/P&gt;&lt;P&gt;Maybe I can set these property before creating an object?&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;P.S. Sorry for my bad English.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 09:15:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8835868#M41900</guid>
      <dc:creator>AllianceElectro.ru_Khripach_A.A.</dc:creator>
      <dc:date>2019-06-06T09:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Area Reinforcement Layers Property?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8836040#M41901</link>
      <description>&lt;P&gt;Dear Алексей,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your English is perfectly fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am checking with the development team for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 10:59:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8836040#M41901</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-06-06T10:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Area Reinforcement Layers Property?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8836244#M41902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Алексей,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Yes, I agree those AreaReinforcement parameters are somewhat harder to find. In order to change those, you must set the following parameters:&lt;/P&gt;
&lt;P&gt;For Wall hooks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_BACK_DIR_1
BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_BACK_DIR_2
BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_FRONT_DIR_1
BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_FRONT_DIR_2&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Wall spacing:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;BuiltInParameter.REBAR_SYSTEM_SPACING_FRONT_DIR_1
BuiltInParameter.REBAR_SYSTEM_SPACING_FRONT_DIR_2
BuiltInParameter.REBAR_SYSTEM_SPACING_BACK_DIR_1
BuiltInParameter.REBAR_SYSTEM_SPACING_BACK_DIR_2&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Floor hooks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_TOP_DIR_1
BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_TOP_DIR_2
BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_BOTTOM_DIR_1
BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_BOTTOM_DIR_2&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Floor spacing:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;BuiltInParameter.REBAR_SYSTEM_SPACING_TOP_DIR_1
BuiltInParameter.REBAR_SYSTEM_SPACING_TOP_DIR_2
BuiltInParameter.REBAR_SYSTEM_SPACING_BOTTOM_DIR_1
BuiltInParameter.REBAR_SYSTEM_SPACING_BOTTOM_DIR_2&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can set these using the following:&lt;/P&gt;
&lt;PRE&gt;AreaReinforcement areaReinf = // get your element
Parameter ourParam = areaReinf.get_Parameter(BuiltInParameter.REBAR_SYSTEM_HOOK_TYPE_BACK_DIR_1);
ourParam.Set(yourHookTypeElementId);&lt;/PRE&gt;
&lt;P&gt;NB:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;DIR_1 is major direction, DIR_2 is minor.&lt;/LI&gt;
&lt;LI&gt;You can use the parameters from wall to floor, as long as you keep in mind that "wall back = floor bottom" and "wall front = floor top"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this clears things up a little bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 12:42:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8836244#M41902</guid>
      <dc:creator>dragos.turmac</dc:creator>
      <dc:date>2019-06-06T12:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Area Reinforcement Layers Property?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8836264#M41903</link>
      <description>&lt;P&gt;Yes! That's what I was looking for! Thank you, so much!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 12:51:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-change-area-reinforcement-layers-property/m-p/8836264#M41903</guid>
      <dc:creator>AllianceElectro.ru_Khripach_A.A.</dc:creator>
      <dc:date>2019-06-06T12:51:22Z</dc:date>
    </item>
  </channel>
</rss>

