<?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 Application of void-extrusion/cut not possible for profiles with bevel in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10787740#M22107</link>
    <description>&lt;P&gt;I am working on a plugin for Revit and enable the import of windows. In the course of this, 3-dimensional window-models are generated. For this, I automatically create profiles and void-extrusions via the API and apply a cut.&lt;/P&gt;&lt;P&gt;If the profile has a minimal bevel, it may not be possible to apply the void-extrusion/cut.&lt;/P&gt;&lt;P&gt;If you move the void-extrusion minimally, it can be applied. However, I want the void-extrusion to cut exactly the edge of the profile.&lt;/P&gt;&lt;P&gt;After days of investigation, I still don't fully understand when the void-extrusion is applicable and when it is not. If you increase the profile by extending the edge with the bevel in the cross section, the void-extrusion can be applied. According to this, it does not depend on the angle of the minimum bevel.&lt;/P&gt;&lt;P&gt;It is also not clear to me whether a too small line is created when applying the void-extrusion (limitation of Revit). In my opinion, this should not occur.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliasScharlach_0-1638178437560.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994788iE78256737DABB302/image-size/large?v=v2&amp;amp;px=999" role="button" title="EliasScharlach_0-1638178437560.png" alt="EliasScharlach_0-1638178437560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;cross section of example2:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliasScharlach_2-1638179063896.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994790i9A2F497FDE515532/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliasScharlach_2-1638179063896.png" alt="EliasScharlach_2-1638179063896.png" /&gt;&lt;/span&gt;&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-inline" image-alt="EliasScharlach_1-1638178499231.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994789i25E83E036117202D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliasScharlach_1-1638178499231.png" alt="EliasScharlach_1-1638178499231.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;&lt;STRONG&gt;&lt;U&gt;Questions:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Why, in part, can't the void-extrusion be applied?&lt;/P&gt;&lt;P&gt;Is there a way to detect this? Via the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created the following example, in which the problem should become clear.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 09:45:12 GMT</pubDate>
    <dc:creator>EliasScharlach</dc:creator>
    <dc:date>2021-11-29T09:45:12Z</dc:date>
    <item>
      <title>Application of void-extrusion/cut not possible for profiles with bevel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10787740#M22107</link>
      <description>&lt;P&gt;I am working on a plugin for Revit and enable the import of windows. In the course of this, 3-dimensional window-models are generated. For this, I automatically create profiles and void-extrusions via the API and apply a cut.&lt;/P&gt;&lt;P&gt;If the profile has a minimal bevel, it may not be possible to apply the void-extrusion/cut.&lt;/P&gt;&lt;P&gt;If you move the void-extrusion minimally, it can be applied. However, I want the void-extrusion to cut exactly the edge of the profile.&lt;/P&gt;&lt;P&gt;After days of investigation, I still don't fully understand when the void-extrusion is applicable and when it is not. If you increase the profile by extending the edge with the bevel in the cross section, the void-extrusion can be applied. According to this, it does not depend on the angle of the minimum bevel.&lt;/P&gt;&lt;P&gt;It is also not clear to me whether a too small line is created when applying the void-extrusion (limitation of Revit). In my opinion, this should not occur.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliasScharlach_0-1638178437560.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994788iE78256737DABB302/image-size/large?v=v2&amp;amp;px=999" role="button" title="EliasScharlach_0-1638178437560.png" alt="EliasScharlach_0-1638178437560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;cross section of example2:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliasScharlach_2-1638179063896.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994790i9A2F497FDE515532/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliasScharlach_2-1638179063896.png" alt="EliasScharlach_2-1638179063896.png" /&gt;&lt;/span&gt;&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-inline" image-alt="EliasScharlach_1-1638178499231.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994789i25E83E036117202D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliasScharlach_1-1638178499231.png" alt="EliasScharlach_1-1638178499231.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;&lt;STRONG&gt;&lt;U&gt;Questions:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Why, in part, can't the void-extrusion be applied?&lt;/P&gt;&lt;P&gt;Is there a way to detect this? Via the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created the following example, in which the problem should become clear.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 09:45:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10787740#M22107</guid>
      <dc:creator>EliasScharlach</dc:creator>
      <dc:date>2021-11-29T09:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Application of void-extrusion/cut not possible for profiles with bevel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10787891#M22108</link>
      <description>&lt;P&gt;You have to exaggerate the cut i.e. ensure that the edge of the solid doesn't lay on the face of the cutting void. In your two cases that fail this is likely the reason. You could likely extend sweep into centre of void to avoid this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are dimensional imperfections in these things. So placing the line on the face has 50/50 change of working depending on what side of the line it falls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In example below if diagonal strikes horizontal face it will leave a tiny horizontal part of that face. If it strikes the vertical face it will leave a clean edge. Comes down to dimensional rounding as to which is chosen when you don't account for that.&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-inline" image-alt="211129.PNG" style="width: 163px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994804i65B5A873E83E75F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="211129.PNG" alt="211129.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There may be better approaches to what you are doing, using voids to create such details if often problematic unless you have nailed down the relationship between the cutting void and the edge of the solid being cut.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 11:26:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10787891#M22108</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-11-29T11:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Application of void-extrusion/cut not possible for profiles with bevel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10788259#M22109</link>
      <description>&lt;P&gt;Thanks for the quick reply. If I understand your answer correctly, it only works if the special profile with bevel protrudes completely inside the void and is not cut on one edge.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliasScharlach_1-1638196175884.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/994862iDC82D3572F502DCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliasScharlach_1-1638196175884.png" alt="EliasScharlach_1-1638196175884.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that I can't extend every profile. The profiles are automatically generated via API and due to the number of profiles the performance would suffer a lot. The approach you suggested I could still apply to the special profiles with bevel. However, this would require that I know when the cut cannot be applied.&lt;/P&gt;&lt;P&gt;For example, rectangular profiles I would not need to extend because Revit can cut them.&lt;/P&gt;&lt;P&gt;So I would need an API function or some other way to check whether Revit can apply the void or not (preferably during the creation process).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generally a USP currently is to create specific extrusions as parametric elements. With meshes / directshape, the cuts are already working because we manipulate the mesh directly.&lt;/P&gt;&lt;P&gt;Is there an other approach for cuts on parametric extrusions?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 14:32:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10788259#M22109</guid>
      <dc:creator>EliasScharlach</dc:creator>
      <dc:date>2021-11-29T14:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Application of void-extrusion/cut not possible for profiles with bevel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10788776#M22110</link>
      <description>&lt;P&gt;I still lack the context of exactly why you can't extend the profile into the void. If you know it had the bevel you know it needs to be extended to cut it. There is no API approach other than to be notified of the failure and do it again the other way but that isn't something I would suggest doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would perhaps consider doing a sweep blend across the thickness of the element and not a sweep along it's length i.e. eliminating the need for the void altogether. Incorporated the bevel into the two sweep blend profiles parametrically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end if you create a family with lots of non parametric static solids using visibility to control which variation is visible then that type of family doesn't tend to perform well.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:08:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10788776#M22110</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-11-29T18:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Application of void-extrusion/cut not possible for profiles with bevel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10790193#M22111</link>
      <description>&lt;P&gt;Thanks for the answer. The second approach you mentioned is unfortunately not applicable for my use case, since the cross sections of the individual profiles can be significantly more complex than in the example described.&lt;BR /&gt;However, I will try / recheck the lengthening of the profiles in the coming weeks in a timely manner.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 08:30:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/application-of-void-extrusion-cut-not-possible-for-profiles-with/m-p/10790193#M22111</guid>
      <dc:creator>EliasScharlach</dc:creator>
      <dc:date>2021-11-30T08:30:38Z</dc:date>
    </item>
  </channel>
</rss>

