<?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: Edit an existing Extrusion with Ilogic / vba in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8457017#M92289</link>
    <description>&lt;P&gt;oEF = Feature.InventorFeature（“Bohrungen”）&lt;/P&gt;
&lt;P&gt;oEF.Definition.SetThroughAllExtent（kNegativeExtentDirection）&lt;/P&gt;
&lt;P&gt;oEF.Operation = kCutOperation&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 13:40:08 GMT</pubDate>
    <dc:creator>lzs013</dc:creator>
    <dc:date>2018-12-10T13:40:08Z</dc:date>
    <item>
      <title>Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8452007#M92183</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have an existing Extrusion. I won't to change this from increase to cut out.&lt;BR /&gt;The name of the Extrsion is "Bohrungen"&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="Source" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/578579i9D15B42F17A929E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quelle.PNG" alt="Source" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Source&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Won't change to:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hole thrue all" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/578580i4DEEC4D88C0B726D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ziel.PNG" alt="Hole thrue all" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Hole thrue all&lt;/span&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have found a code that change the direction but i don't know to change the extrusion to Cut thrue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code that i have now:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;Sub&lt;/SPAN&gt; &lt;SPAN&gt;Main&lt;/SPAN&gt;

 &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extrude&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ExtrudeFeature&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;TryCast&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Feature&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;InventorFeature&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Bohrungen&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;ExtrudeFeature&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
 &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;extent&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DistanceExtent&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;TryCast&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;extrude&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Extent&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;DistanceExtent&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;
 
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Noppen&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
 
 &lt;SPAN&gt;extent&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Direction&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;PartFeatureExtentDirectionEnum&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;kPositiveExtentDirection&lt;/SPAN&gt;
 
&lt;SPAN&gt;Else&lt;/SPAN&gt;

&lt;SPAN&gt;extent&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Direction&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;PartFeatureExtentDirectionEnum&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;kNegativeExtentDirection&lt;/SPAN&gt;

&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
 
  
 
 
 
&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tested with the kCutOperation, but i don't know how?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 08:33:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8452007#M92183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-07T08:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8453892#M92249</link>
      <description>&lt;P&gt;I created a deck feature using this method.&amp;nbsp; The 'Operation' property of the ExtrusionDefinition of the ExtrusionFeature is what you are after aka ExtrudeFeature.Defnition.Operation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim edDeck As ExtrudeDefinition = cdCarDeck.Features.ExtrudeFeatures.CreateExtrudeDefinition(skDeckProfile.Profiles.AddForSolid, PartFeatureOperationEnum.kNewBodyOperation)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edDeck.SetDistanceExtent(RowCar.DeckWidth * 2.54, PartFeatureExtentDirectionEnum.kSymmetricExtentDirection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim efDeck As Inventor.ExtrudeFeature = cdCarDeck.Features.ExtrudeFeatures.Add(edDeck)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; extrusionDefinition.Operation=PartFeatureOperationEnum.kCutOperation 'and all other types&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 23:03:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8453892#M92249</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2018-12-07T23:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8454980#M92253</link>
      <description>&lt;P&gt;ExtrudeDefinition Object&lt;/P&gt;
&lt;P&gt;Operation&lt;/P&gt;
&lt;P&gt;Read-write property that gets and sets the type of operation used to add the feature to the model. Valid inputs are kNewBodyOperation, kJoinOperation, kCutOperation, kIntersectOperation and kSurfaceOperation.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Dec 2018 01:05:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8454980#M92253</guid>
      <dc:creator>lzs013</dc:creator>
      <dc:date>2018-12-09T01:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8456409#M92273</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for your help &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I only have a little problem.&lt;/P&gt;
&lt;P&gt;I have change the Operation to kCutOperation, thats work fine, but i won't that there is no distance - only thrue all.&lt;/P&gt;
&lt;P&gt;Can you help me again? Witch parameter is responsible for the "thrue" option?&lt;/P&gt;
&lt;P&gt;Thanks &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 08:58:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8456409#M92273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-10T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8457017#M92289</link>
      <description>&lt;P&gt;oEF = Feature.InventorFeature（“Bohrungen”）&lt;/P&gt;
&lt;P&gt;oEF.Definition.SetThroughAllExtent（kNegativeExtentDirection）&lt;/P&gt;
&lt;P&gt;oEF.Operation = kCutOperation&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 13:40:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8457017#M92289</guid>
      <dc:creator>lzs013</dc:creator>
      <dc:date>2018-12-10T13:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8458865#M92341</link>
      <description>&lt;P&gt;Thanks so much!&lt;/P&gt;
&lt;P&gt;Now it works and i know why.&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 06:01:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8458865#M92341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T06:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8520880#M93173</link>
      <description>&lt;P&gt;HI there, I'm building a very simple illogic rule to turn features on and off based on a parameter. in one case I need to flip one of the extrude features. I'm unsure how to insert your code into my rule can you provide some guidance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If&lt;/STRONG&gt; Vertical_Divider &lt;STRONG&gt;=&lt;/STRONG&gt; "Full" &lt;STRONG&gt;Then&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;.&lt;STRONG&gt;IsActive&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"vDivider Base"&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;=&lt;/STRONG&gt; True&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;.&lt;STRONG&gt;IsActive&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"vDivider Top"&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;=&lt;/STRONG&gt; True&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ElseIf&lt;/STRONG&gt; Vertical_Divider &lt;STRONG&gt;=&lt;/STRONG&gt; "None” &lt;STRONG&gt;Then&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;.&lt;STRONG&gt;IsActive&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"vDivider Base"&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;=&lt;/STRONG&gt; True&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;(here I need to flip the vDivider Base asymmetric extrusion from 9,0.5 to 0.5,9)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;.&lt;STRONG&gt;IsActive&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"vDivider Top"&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;=&lt;/STRONG&gt; False&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ElseIf&lt;/STRONG&gt; Vertical_Divider &lt;STRONG&gt;=&lt;/STRONG&gt; "Upper" &lt;STRONG&gt;Then&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;.&lt;STRONG&gt;IsActive&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"vDivider Base"&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;=&lt;/STRONG&gt; False&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;.&lt;STRONG&gt;IsActive&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;"vDivider Top"&lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;=&lt;/STRONG&gt; True&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;End&lt;/STRONG&gt; &lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thanks for your help&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 16:25:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8520880#M93173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-14T16:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Edit an existing Extrusion with Ilogic / vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8522183#M93207</link>
      <description>&lt;P&gt;vDividerBase=Feature.InventorFeature("vDivider Base")&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vDividerBase.Definition.SetDistanceExtentTwo = 0.9&lt;/P&gt;
&lt;P&gt;vDividerBase.Definition.SetDistanceExtent = 0.05&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 01:42:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/edit-an-existing-extrusion-with-ilogic-vba/m-p/8522183#M93207</guid>
      <dc:creator>lzs013</dc:creator>
      <dc:date>2019-01-15T01:42:38Z</dc:date>
    </item>
  </channel>
</rss>

