<?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: Vertically Compound Wall - Adding Splits and Layers in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9245133#M37902</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used part of the logic you provided me last year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://csharp.hotexamples.com/examples/-/CompoundStructureLayer/-/php-compoundstructurelayer-class-examples.html" target="_blank"&gt;https://csharp.hotexamples.com/examples/-/CompoundStructureLayer/-/php-compoundstructurelayer-class-examples.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But there was a question: is it possible to edit the split dimension programmatically (see figure)?&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-center" image-alt="Split Wall Vertically.png" style="width: 714px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/715840iA9C70801B42AE39E/image-dimensions/714x474?v=v2" width="714" height="474" role="button" title="Split Wall Vertically.png" alt="Split Wall Vertically.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to change the material and dimension of the wall split.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already verified that I can access:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 1. Access Wall Regions = GetRegionIds ()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 2. The layer associated with region = GetLayerAssociatedToRegion ()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 3. Material associated with layer = SetMaterialId ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change the region dimension from RegionId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not find in the API documentation a class for manipulating the region in the split wall context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jan 2020 21:32:25 GMT</pubDate>
    <dc:creator>ari.monteiro</dc:creator>
    <dc:date>2020-01-11T21:32:25Z</dc:date>
    <item>
      <title>Vertically Compound Wall - Adding Splits and Layers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9202833#M37898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to write code to vertically cut the layers of a wall, as shown in the video below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=TRjB9sylTb4" target="_blank"&gt;https://www.youtube.com/watch?v=TRjB9sylTb4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found in the API documentation the Autodesk.Revit.DB.CompoundStructure.SplitRegion () method, but I don't quite understand how I can use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked for code examples on how to use this method, but didn't find it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 00:32:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9202833#M37898</guid>
      <dc:creator>ari.monteiro</dc:creator>
      <dc:date>2019-12-15T00:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Vertically Compound Wall - Adding Splits and Layers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9203212#M37899</link>
      <description>&lt;P&gt;I searched the Internet for SplitRegion samples as well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duckduckgo.com/?q=revit+api+%22splitregion%22" target="_blank"&gt;https://duckduckgo.com/?q=revit+api+%22splitregion%22&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not find many examples, but here is one that looks pretty useful indeed to me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://csharp.hotexamples.com/examples/-/CompoundStructureLayer/-/php-compoundstructurelayer-class-examples.html" target="_blank"&gt;https://csharp.hotexamples.com/examples/-/CompoundStructureLayer/-/php-compoundstructurelayer-class-examples.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 16:13:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9203212#M37899</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-15T16:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vertically Compound Wall - Adding Splits and Layers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9203223#M37900</link>
      <description>&lt;P&gt;On closer examination, I discover that the sample I found is part of the Revit SDK:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;.../SDK/Samples/CompoundStructure/CS/Command.cs&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should always search the Revit SDK before going anywhere else, you know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The samples there are created and shared exactly for this purpose and no other!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 16:19:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9203223#M37900</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-15T16:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vertically Compound Wall - Adding Splits and Layers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9214064#M37901</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't really look at the SDK examples, but here in the forum. I'll remember to look at the SDK first next time! Good hint!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to use the codes in the links you gave me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I'm trying to solve my problem in Dynamo using a Python Script node.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I also know C# and my idea was to know how to solve my problem in C# and then transcribe the solution to Python in Dynamo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Merry Christmas and Happy New Year, my dear! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:58:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9214064#M37901</guid>
      <dc:creator>ari.monteiro</dc:creator>
      <dc:date>2019-12-20T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Vertically Compound Wall - Adding Splits and Layers</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9245133#M37902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used part of the logic you provided me last year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://csharp.hotexamples.com/examples/-/CompoundStructureLayer/-/php-compoundstructurelayer-class-examples.html" target="_blank"&gt;https://csharp.hotexamples.com/examples/-/CompoundStructureLayer/-/php-compoundstructurelayer-class-examples.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But there was a question: is it possible to edit the split dimension programmatically (see figure)?&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-center" image-alt="Split Wall Vertically.png" style="width: 714px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/715840iA9C70801B42AE39E/image-dimensions/714x474?v=v2" width="714" height="474" role="button" title="Split Wall Vertically.png" alt="Split Wall Vertically.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to change the material and dimension of the wall split.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already verified that I can access:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 1. Access Wall Regions = GetRegionIds ()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 2. The layer associated with region = GetLayerAssociatedToRegion ()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 3. Material associated with layer = SetMaterialId ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I change the region dimension from RegionId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not find in the API documentation a class for manipulating the region in the split wall context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jan 2020 21:32:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/vertically-compound-wall-adding-splits-and-layers/m-p/9245133#M37902</guid>
      <dc:creator>ari.monteiro</dc:creator>
      <dc:date>2020-01-11T21:32:25Z</dc:date>
    </item>
  </channel>
</rss>

