<?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: Feature Rectangular Pattern creation in assembly using iLogic in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13756552#M176474</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17157957"&gt;@jakub_piaseczny&lt;/a&gt;.&amp;nbsp; It is difficult to determine from your initial post how much you may already know about iLogic, or how well you can navigate Inventor's API object model, so I am just going to start out by posting a series of Links to some of the objects your code will need find and access, as well as maybe some of their properties or methods that will likely be involved in that overall process.&amp;nbsp; But there simply is not enough information here to start writing an actual code example that would immediately work for you...too many unknown details involved.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-AssemblyDocument" target="_blank" rel="noopener"&gt;AssemblyDocument&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=AssemblyDocument_ComponentDefinition" target="_blank" rel="noopener"&gt;AssemblyDocument.ComponentDefinition&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-AssemblyComponentDefinition" target="_blank" rel="noopener"&gt;AssemblyComponentDefinition&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=AssemblyComponentDefinition_Features" target="_blank" rel="noopener"&gt;AssemblyComponentDefinition.Features&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-Features" target="_blank" rel="noopener"&gt;Features&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=Features_RectangularPatternFeatures" target="_blank" rel="noopener"&gt;Features.RectangularPatternFeatures&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=Features_ExtrudeFeatures" target="_blank" rel="noopener"&gt;Features.ExtrudeFeatures&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-RectangularPatternFeatures" target="_blank" rel="noopener"&gt;RectangularPatternFeatures&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-ExtrudeFeatures" target="_blank" rel="noopener"&gt;ExtrudeFeatures&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=RectangularPatternFeatures_CreateDefinition" target="_blank" rel="noopener"&gt;RectangularPatternFeatures.CreateDefinition&lt;/A&gt;&amp;nbsp;(method)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-RectangularPatternFeatureDefinition" target="_blank" rel="noopener"&gt;RectangularPatternFeatureDefinition&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=RectangularPatternFeatures_AddByDefinition" target="_blank" rel="noopener"&gt;RectangularPatternFeatures.AddByDefinition&lt;/A&gt;&amp;nbsp;(method)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-RectangularPatternFeature" target="_blank" rel="noopener"&gt;RectangularPatternFeature&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-ExtrudeFeature" target="_blank" rel="noopener"&gt;ExtrudeFeature&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2025 16:59:10 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2025-08-06T16:59:10Z</dc:date>
    <item>
      <title>Feature Rectangular Pattern creation in assembly using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13756319#M176470</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to look everywhere (even used AI to help me but it failed totally), but found no information on how to create pattern of a feature in assembly using iLogic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best to show it on example: I created assembly and in 3D Model tab using Extrude feature I removed some material from fin (part between the tubes) creating a slot. I used rectangular operation from the same 3D model tab to create more cuts. Manually everything works, parts are not cut in their files but I have slots in assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, if this is possible to be done using iLogic? I have Extrude feature defined, but found no information how to define its creation.&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="jakub_piaseczny_0-1754488874241.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1558976i82A23FA8DEC32143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jakub_piaseczny_0-1754488874241.png" alt="jakub_piaseczny_0-1754488874241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be clear: I don't want to create the pattern manually and then use iLogic to modify parameters, I need to create the Rectangular feature from 0 using iLogic, just having the Extrusion operation in deature tree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 14:12:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13756319#M176470</guid>
      <dc:creator>jakub_piaseczny</dc:creator>
      <dc:date>2025-08-06T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Rectangular Pattern creation in assembly using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13756552#M176474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17157957"&gt;@jakub_piaseczny&lt;/a&gt;.&amp;nbsp; It is difficult to determine from your initial post how much you may already know about iLogic, or how well you can navigate Inventor's API object model, so I am just going to start out by posting a series of Links to some of the objects your code will need find and access, as well as maybe some of their properties or methods that will likely be involved in that overall process.&amp;nbsp; But there simply is not enough information here to start writing an actual code example that would immediately work for you...too many unknown details involved.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-AssemblyDocument" target="_blank" rel="noopener"&gt;AssemblyDocument&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=AssemblyDocument_ComponentDefinition" target="_blank" rel="noopener"&gt;AssemblyDocument.ComponentDefinition&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-AssemblyComponentDefinition" target="_blank" rel="noopener"&gt;AssemblyComponentDefinition&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=AssemblyComponentDefinition_Features" target="_blank" rel="noopener"&gt;AssemblyComponentDefinition.Features&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-Features" target="_blank" rel="noopener"&gt;Features&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=Features_RectangularPatternFeatures" target="_blank" rel="noopener"&gt;Features.RectangularPatternFeatures&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=Features_ExtrudeFeatures" target="_blank" rel="noopener"&gt;Features.ExtrudeFeatures&lt;/A&gt;&amp;nbsp;(property)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-RectangularPatternFeatures" target="_blank" rel="noopener"&gt;RectangularPatternFeatures&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-ExtrudeFeatures" target="_blank" rel="noopener"&gt;ExtrudeFeatures&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=RectangularPatternFeatures_CreateDefinition" target="_blank" rel="noopener"&gt;RectangularPatternFeatures.CreateDefinition&lt;/A&gt;&amp;nbsp;(method)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-RectangularPatternFeatureDefinition" target="_blank" rel="noopener"&gt;RectangularPatternFeatureDefinition&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=RectangularPatternFeatures_AddByDefinition" target="_blank" rel="noopener"&gt;RectangularPatternFeatures.AddByDefinition&lt;/A&gt;&amp;nbsp;(method)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-RectangularPatternFeature" target="_blank" rel="noopener"&gt;RectangularPatternFeature&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=GUID-ExtrudeFeature" target="_blank" rel="noopener"&gt;ExtrudeFeature&lt;/A&gt;&amp;nbsp;(object)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 16:59:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13756552#M176474</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2025-08-06T16:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Rectangular Pattern creation in assembly using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13757419#M176484</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do am using a lot of iLogic to build smart templates or parts/assemblies, but I couldn't find any information on how to create the type of pattern in assembly (3D model feature pattern).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Bellow sample of a code if I were to build regular pattern with components / occurrences:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jakub_piaseczny_0-1754550143648.png" style="width: 986px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1559197i823F37EEFF6D5276/image-dimensions/986x218?v=v2" width="986" height="218" role="button" title="jakub_piaseczny_0-1754550143648.png" alt="jakub_piaseczny_0-1754550143648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does anyone know what a script for creation of feature pattern can look like based on this example?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 07:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13757419#M176484</guid>
      <dc:creator>jakub_piaseczny</dc:creator>
      <dc:date>2025-08-07T07:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Rectangular Pattern creation in assembly using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13757537#M176487</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAsm&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyComponentDefinition&lt;/SPAN&gt; = &lt;SPAN&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oExtFeat&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ExtrudeFeature&lt;/SPAN&gt; = &lt;SPAN&gt;oDef&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"slot_top_cut"&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;patt&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RectangularPatternFeature&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oColl&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ObjectCollection&lt;/SPAN&gt;
&lt;SPAN&gt;oColl&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateObjectCollection&lt;/SPAN&gt;()
&lt;SPAN&gt;oColl&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oExtFeat&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAxis&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;WorkAxis&lt;/SPAN&gt;
&lt;SPAN&gt;oAxis&lt;/SPAN&gt; = &lt;SPAN&gt;oDef&lt;/SPAN&gt;.&lt;SPAN&gt;WorkAxes&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"X Axis"&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;rectDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RectangularPatternFeatureDefinition&lt;/SPAN&gt;
&lt;SPAN&gt;rectDef&lt;/SPAN&gt; = &lt;SPAN&gt;oDef&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;RectangularPatternFeatures&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDefinition&lt;/SPAN&gt;(&lt;SPAN&gt;oColl&lt;/SPAN&gt;, &lt;SPAN&gt;oAxis&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;, &lt;SPAN&gt;tube_qty_tube&lt;/SPAN&gt; - 1, &lt;SPAN&gt;pitch&lt;/SPAN&gt; / 10)

&lt;SPAN&gt;patt&lt;/SPAN&gt; = &lt;SPAN&gt;oDef&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;RectangularPatternFeatures&lt;/SPAN&gt;.&lt;SPAN&gt;AddByDefinition&lt;/SPAN&gt;(&lt;SPAN&gt;rectDef&lt;/SPAN&gt;)

&lt;SPAN&gt;patt&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt; = &lt;SPAN&gt;"slot_top_pattern"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;OK, I managed to solve it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 08:05:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/feature-rectangular-pattern-creation-in-assembly-using-ilogic/m-p/13757537#M176487</guid>
      <dc:creator>jakub_piaseczny</dc:creator>
      <dc:date>2025-08-07T08:05:00Z</dc:date>
    </item>
  </channel>
</rss>

