<?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 Deleting Component pattern using ilogic in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6222268#M111466</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the ilogic code to directly delete some component patterns (including base part) in the assemlby. The&amp;nbsp;assembly has around 3000 components and around 200 patterns.&lt;/P&gt;&lt;P&gt;I have few cases where few component patterns to be deleted along with parent part. Is there any code for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lookinf for help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rudresh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 06:50:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-18T06:50:15Z</dc:date>
    <item>
      <title>Deleting Component pattern using ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6222268#M111466</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the ilogic code to directly delete some component patterns (including base part) in the assemlby. The&amp;nbsp;assembly has around 3000 components and around 200 patterns.&lt;/P&gt;&lt;P&gt;I have few cases where few component patterns to be deleted along with parent part. Is there any code for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lookinf for help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rudresh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 06:50:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6222268#M111466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-18T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Component pattern using ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6224641#M111467</link>
      <description>&lt;P&gt;you can tweak a little this code below and have it delete the entire Pattern:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/ilogic-delete-a-suppressed-component-pattern/m-p/4444211/highlight/true#M46383" target="_self"&gt;http://forums.autodesk.com/t5/inventor-customization/ilogic-delete-a-suppressed-component-pattern/m-p/4444211/highlight/true#M46383&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code will delete components that are suppressed, and if it's in a pattern it will delete the patern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Give it a try and see if it works for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 00:05:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6224641#M111467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-20T00:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Component pattern using ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6230545#M111468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Goncalves&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for sharing the solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have copied the code that searches the supressed pattenss and delete them. I worked. But my assembly has more than 4000 parts so it is taking almost more than 30min to search and delete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any code that directly deletes&amp;nbsp;the patterns&amp;nbsp;similar to the 'component delete' like below &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Component.InventorComponent(Part:1).Delete()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again Thanks&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:33:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/deleting-component-pattern-using-ilogic/m-p/6230545#M111468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T14:33:12Z</dc:date>
    </item>
  </channel>
</rss>

