<?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: Error in component pattern when feature pattern is suppressed in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12731707#M115821</link>
    <description>&lt;P&gt;Hi! I am not aware of a solution other than what had been stated before. There is a dependency here. The Component Pattern is driven by the Feature Pattern. When the Feature Pattern is suppressed first, the Component Pattern will become sick. This is why you need to suppress the Component Pattern first before suppressing the Feature Pattern. Such conditional sequential operations can be achieved by an iLogic rule. But it cannot be done easily within iAssembly/iPart or Model States unfortunately.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 20:42:35 GMT</pubDate>
    <dc:creator>johnsonshiue</dc:creator>
    <dc:date>2024-04-24T20:42:35Z</dc:date>
    <item>
      <title>Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10155231#M115814</link>
      <description>&lt;P&gt;I have a sheet metal panel, on each side (left, right, top, bottom) I made a hole and then a pattern of that hole. This works perfectly. I placed this part in an assembly and authored it for icopy. Still works perfectly fine, I have used this to make lots of these panels.&lt;/P&gt;&lt;P&gt;Now I'd like to add screws to all the holes, so my idea was to add one to the first hole in every side and then create a component pattern that follows the feature pattern in the part. And this also works perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Except when I want to suppress the holes in one or more sides. With ilogic, I suppressed the holes in the part, I suppressed the component pattern. But I still get an error because the initial constraint of the first screw was made to the geometry that has now been suppressed, so of course that makes sense. But how can I work around this?&lt;/P&gt;&lt;P&gt;Am I missing something really obvious? Would my only option be to create work geometry in the part to constrain the screw to?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2021 10:42:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10155231#M115814</guid>
      <dc:creator>mat_hijs</dc:creator>
      <dc:date>2021-03-14T10:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158119#M115815</link>
      <description>&lt;P&gt;Are you also setting the constraint to be false as well?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 16:54:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158119#M115815</guid>
      <dc:creator>blandb</dc:creator>
      <dc:date>2021-03-15T16:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158246#M115816</link>
      <description>&lt;P&gt;I tried to suppress te constraint if that's what you mean, but I stil got an error.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 17:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158246#M115816</guid>
      <dc:creator>mat_hijs</dc:creator>
      <dc:date>2021-03-15T17:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158428#M115817</link>
      <description>&lt;P&gt;Can you share your model?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 18:39:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158428#M115817</guid>
      <dc:creator>blandb</dc:creator>
      <dc:date>2021-03-15T18:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158452#M115818</link>
      <description>&lt;P&gt;Don't know if it his would be better for your use case or not. But you could constrain the screw by defining distances from the edges of the part, and link those distances to the dimensions you used to define the original hole location. (Those dims should not be suppressed when you suppress the hole feature.)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 18:48:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158452#M115818</guid>
      <dc:creator>foolishgrunt</dc:creator>
      <dc:date>2021-03-15T18:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158991#M115819</link>
      <description>&lt;P&gt;Hi! I guess you may need to suppress the component pattern before suppressing the feature pattern. Then, unsuppress the feature pattern before unsuppressing the component pattern.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 22:34:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/10158991#M115819</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2021-03-15T22:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12730399#M115820</link>
      <description>&lt;P&gt;I am still dealing with this issue, has anyone ever found a solution to this?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 12:53:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12730399#M115820</guid>
      <dc:creator>mat_hijs</dc:creator>
      <dc:date>2024-04-24T12:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12731707#M115821</link>
      <description>&lt;P&gt;Hi! I am not aware of a solution other than what had been stated before. There is a dependency here. The Component Pattern is driven by the Feature Pattern. When the Feature Pattern is suppressed first, the Component Pattern will become sick. This is why you need to suppress the Component Pattern first before suppressing the Feature Pattern. Such conditional sequential operations can be achieved by an iLogic rule. But it cannot be done easily within iAssembly/iPart or Model States unfortunately.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 20:42:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12731707#M115821</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2024-04-24T20:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in component pattern when feature pattern is suppressed</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12732430#M115822</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/486618"&gt;@johnsonshiue&lt;/a&gt;&amp;nbsp;The solution stated before doesn't work. I have tried any possible order of suppressing and unsuppressing but the result is the same. I think this is because even when the occurrence pattern is suppressed it still remains sick, which I'm not sure if this is by design or a bug.&lt;/P&gt;&lt;P&gt;I did come up with a solution that seems to work, but it's not pretty. I attached a simple example, changing the parameter "Active" in the assembly will trigger the rule.&lt;/P&gt;&lt;P&gt;Basically I created another pattern, a dummy pattern of the origin with 1 occurrence over a distance of 0 mm that will always be active. The iLogic code sets to which feature pattern the occurrence pattern is linked.&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;' Suppress Part2 and the corresponding Constraints
Component.Visible("Part2") = Active
Constraint.IsActive("Insert_Part2") = Active

' Set a reference to the Assembly Document
Dim oAsmDoc As AssemblyDocument = ThisApplication.ActiveDocument

' Set a reference to the Assembly Component Definition
Dim oAsmCompDef As AssemblyComponentDefinition = oAsmDoc.ComponentDefinition

' Set a reference to the Component Occurrences
Dim oOccurrences As ComponentOccurrences = oAsmCompDef.Occurrences

' Set a reference to a Component Occurrence
Dim oOcc As ComponentOccurrence = oOccurrences.ItemByName("Part1")

' Set a reference to the Part Component Definition (Occurrence)
Dim oPartCompDef As PartComponentDefinition = oOcc.Definition

' Set a reference to the Part Features (Occurrence)
Dim oPartFeatures As PartFeatures = oPartCompDef.Features

' Set a reference to the Rectangular Pattern Features (Occurrence)
Dim oRectangularPatternFeatures As RectangularPatternFeatures = oPartFeatures.RectangularPatternFeatures

' Set a reference to the Rectangular Pattern Features (Occurrence)
Dim oOccPattern_Dummy As RectangularPatternFeature = oRectangularPatternFeatures.Item("Pattern_Dummy")
Dim oOccPattern_Gaten As RectangularPatternFeature = oRectangularPatternFeatures.Item("Pattern_Gaten")

' Create Rectangular Pattern Feature Proxies
oOcc.CreateGeometryProxy(oOccPattern_Dummy, oOccPattern_Dummy_Proxy)
oOcc.CreateGeometryProxy(oOccPattern_Gaten, oOccPattern_Gaten_Proxy)

' Set a reference to the Occurrence Patterns
Dim oAsmPatterns As OccurrencePatterns = oAsmCompDef.OccurrencePatterns

' Set a reference to an Occurrence Pattern
Dim oAsmPattern_Gaten As FeatureBasedOccurrencePattern = oAsmPatterns.Item("Part2")

' Set to which Feature Patterns the Occurrence Patterns are linked
If Active = True Then
	oAsmPattern_Gaten.FeaturePattern = oOccPattern_Gaten_Proxy
Else
	oAsmPattern_Gaten.FeaturePattern = oOccPattern_Dummy_Proxy
End If

' Run Rule to set the BOM Structure Overrides
iLogicVb.RunRule("BOM Structure Overrides")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 06:51:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/error-in-component-pattern-when-feature-pattern-is-suppressed/m-p/12732430#M115822</guid>
      <dc:creator>mat_hijs</dc:creator>
      <dc:date>2024-04-25T06:51:48Z</dc:date>
    </item>
  </channel>
</rss>

