<?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: Get void form from beam in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014304#M59107</link>
    <description>&lt;P&gt;Hi @Anonymous,&lt;/P&gt;
&lt;P&gt;If the void is in the family, you will probably need to open the&amp;nbsp;family, delete the void, then reload&amp;nbsp;the family&amp;nbsp;into your project.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 09:01:22 GMT</pubDate>
    <dc:creator>matthew_taylor</dc:creator>
    <dc:date>2017-04-13T09:01:22Z</dc:date>
    <item>
      <title>Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7009149#M59104</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How to read void forms from selected element in model.&lt;/P&gt;&lt;P&gt;My model element is structural member beam, there in my beam applied cell hole as s void cut,&lt;/P&gt;&lt;P&gt;So that cut I want to remove from this beam,&lt;/P&gt;&lt;P&gt;For that how to access member, family symbol &amp;amp; how to remove void.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate if you help to solve above.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;-RK&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 13:02:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7009149#M59104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-11T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7012262#M59105</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One possible option would be the following:&lt;/P&gt;&lt;P&gt;1. Get the Solid geometry of the FamilyInstance (your beam) and SolidUtils.Clone() it in a Solid called, say, "cutSolid";&lt;/P&gt;&lt;P&gt;2. Create a new (Sub)Transaction;&lt;/P&gt;&lt;P&gt;3. Delete the FamilyInstance that has created the void in the beam and call a Document.Regenerate();&lt;/P&gt;&lt;P&gt;4. Get the Solid geometry of your beam and use&amp;nbsp;&lt;SPAN&gt;SolidUtils.Clone()&amp;nbsp;again in a solid called, say, "fullSolid";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Rollback the transaction started at step 2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6. Using&amp;nbsp;BooleanOperationsUtils.ExecuteBooleanOperation, subtract "cutSolid" (step 1) from "full Solid" (step 4);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used a similar code to extract the voids from a wall but I do not know if it works on beams/FamilyInstances, but it's worth a try.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:18:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7012262#M59105</guid>
      <dc:creator>dragos.turmac</dc:creator>
      <dc:date>2017-04-12T14:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014216#M59106</link>
      <description>&lt;P&gt;Did you try&amp;nbsp;InstanceVoidCutUtils.GetCuttingVoidInstances(element) ? &amp;nbsp;It will work if the void is applied appropriately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jon&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 08:05:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014216#M59106</guid>
      <dc:creator>GeomGym</dc:creator>
      <dc:date>2017-04-13T08:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014304#M59107</link>
      <description>&lt;P&gt;Hi @Anonymous,&lt;/P&gt;
&lt;P&gt;If the void is in the family, you will probably need to open the&amp;nbsp;family, delete the void, then reload&amp;nbsp;the family&amp;nbsp;into your project.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 09:01:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014304#M59107</guid>
      <dc:creator>matthew_taylor</dc:creator>
      <dc:date>2017-04-13T09:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014314#M59108</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the information, i'm trying to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-RK.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 09:07:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014314#M59108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-13T09:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014648#M59109</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How to delete void, any sample or reference if available kindly reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;-RK&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:26:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014648#M59109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-13T12:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014762#M59110</link>
      <description>&lt;P&gt;Hi @Anonymous,&lt;/P&gt;
&lt;P&gt;This snippet worked okay in a family document in Revit 2017:&lt;/P&gt;
&lt;PRE&gt; Dim familyDoc As DB.Document = commandData.Application.ActiveUIDocument.Document
        Dim void As DB.GenericForm = _
            New DB.FilteredElementCollector(familyDoc).OfClass(GetType(DB.GenericForm)).Cast(Of DB.GenericForm).Where(Function(s) Not s.IsSolid).FirstOrDefault
        Using trans As New DB.Transaction(familyDoc, "Delete void")
            trans.Start()
            familyDoc.Delete(void.Id)
            trans.Commit()
        End Using&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Apr 2017 13:02:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7014762#M59110</guid>
      <dc:creator>matthew_taylor</dc:creator>
      <dc:date>2017-04-13T13:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7020255#M59111</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;matthew.&lt;/P&gt;&lt;P&gt;now i got concept &amp;amp; how to delete cut&amp;nbsp;with help of your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-RK&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 06:26:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7020255#M59111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-17T06:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get void form from beam</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7022594#M59112</link>
      <description>Great. Please post complete solution (favoured) or mark my solution as a solution.</description>
      <pubDate>Tue, 18 Apr 2017 07:14:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-void-form-from-beam/m-p/7022594#M59112</guid>
      <dc:creator>matthew_taylor</dc:creator>
      <dc:date>2017-04-18T07:14:27Z</dc:date>
    </item>
  </channel>
</rss>

