<?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 Any way to speed-up export IAM to IGES in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13230945#M175077</link>
    <description>&lt;P&gt;Recently I was asked to create solution for batch export geometry of some filtered assembly components (including cuts done within assembly environment) to IGES.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've found to do so is to leave the only components visible and then export the whole assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first try was to cycle through AllLeafOccurrences, select one, perform Isolate command, do export and perform UnIsolate command. But that is extremely slow even with ScreenUpdating off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A bit better was second approach: switch visibility off for all components and then in cycle make each visible, export assembly and switch the processed component visibility off (about 55% faster then first approach).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT even second approach on real project (&amp;gt;4000 occurrences with about 270 to be export) performs ~60 times slower (30 minutes !! instead of 30 seconds) than just export same components without assembly features (direct *.IPT -&amp;gt; *.IGES).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason speed-difference on simple test assembly attached is not that dramatical (only about ~4 times):&lt;/P&gt;&lt;P&gt;1st approach ~90sec&lt;/P&gt;&lt;P&gt;2nd approach ~37sec&lt;/P&gt;&lt;P&gt;3rd (IPTs) ~9sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code to perform any of the 3 approaches mentioned (set with answer on one or two consequent MsgBox-es) is also attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'd like to know if there any way to perform the export asked more-or-less faster than the second approach?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&lt;BR /&gt;Isn't&amp;nbsp; it be strange that Inventor-programming forum don't accept uploading files with *.iLogicVB extension?&lt;BR /&gt;What is a supposed way to sound an idea to add forum functionality?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2024 07:46:25 GMT</pubDate>
    <dc:creator>Maxim-CADman77</dc:creator>
    <dc:date>2024-12-27T07:46:25Z</dc:date>
    <item>
      <title>Any way to speed-up export IAM to IGES</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13230945#M175077</link>
      <description>&lt;P&gt;Recently I was asked to create solution for batch export geometry of some filtered assembly components (including cuts done within assembly environment) to IGES.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've found to do so is to leave the only components visible and then export the whole assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first try was to cycle through AllLeafOccurrences, select one, perform Isolate command, do export and perform UnIsolate command. But that is extremely slow even with ScreenUpdating off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A bit better was second approach: switch visibility off for all components and then in cycle make each visible, export assembly and switch the processed component visibility off (about 55% faster then first approach).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT even second approach on real project (&amp;gt;4000 occurrences with about 270 to be export) performs ~60 times slower (30 minutes !! instead of 30 seconds) than just export same components without assembly features (direct *.IPT -&amp;gt; *.IGES).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason speed-difference on simple test assembly attached is not that dramatical (only about ~4 times):&lt;/P&gt;&lt;P&gt;1st approach ~90sec&lt;/P&gt;&lt;P&gt;2nd approach ~37sec&lt;/P&gt;&lt;P&gt;3rd (IPTs) ~9sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code to perform any of the 3 approaches mentioned (set with answer on one or two consequent MsgBox-es) is also attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I'd like to know if there any way to perform the export asked more-or-less faster than the second approach?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&lt;BR /&gt;Isn't&amp;nbsp; it be strange that Inventor-programming forum don't accept uploading files with *.iLogicVB extension?&lt;BR /&gt;What is a supposed way to sound an idea to add forum functionality?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 07:46:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13230945#M175077</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2024-12-27T07:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to speed-up export IAM to IGES</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13248540#M175317</link>
      <description>&lt;P&gt;If exporting the file straight from an .ipt is fastest, have you considered opening each part?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use this code:&amp;nbsp;&lt;EM&gt;Documents.&lt;STRONG&gt;Open&lt;/STRONG&gt;(&amp;nbsp;&lt;STRONG&gt;FullDocumentName&lt;/STRONG&gt;&amp;nbsp;As String, [&lt;STRONG&gt;OpenVisible&lt;/STRONG&gt;] As Boolean ) As&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=Document" target="_blank" rel="noopener"&gt;Document&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And set OpenVisible to false I find that Inventor absolutely flies through multiple files. I would try not closing them until the very end though, might save a bit of time.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 23:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13248540#M175317</guid>
      <dc:creator>C_Haines_ENG</dc:creator>
      <dc:date>2025-01-07T23:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to speed-up export IAM to IGES</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13249186#M175342</link>
      <description>&lt;P&gt;Export from IPT itself is not a solution as it don't keep Assembly Modify Features.&lt;BR /&gt;My current solution is to export from IPT unless&amp;nbsp;Occurrence.HasBodyOverride = True (then export from IAM).&lt;BR /&gt;Now it takes time between 2 and 3 proportionally to qty of Assembly features (which are usually few).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 08:38:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/any-way-to-speed-up-export-iam-to-iges/m-p/13249186#M175342</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2025-01-08T08:38:06Z</dc:date>
    </item>
  </channel>
</rss>

