<?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: How to export certain model properties from a iPart in to an excel sheet. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9916524#M118800</link>
    <description>&lt;P&gt;you can try this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SheetMetalComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;HasFlatPattern&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edit&lt;/SPAN&gt;()
&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Unfold&lt;/SPAN&gt;()
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PlanarSketch&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Sketches&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TopFace&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)

&lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Profiles&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddForSolid&lt;/SPAN&gt;()


&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;profile&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Profile&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Profiles&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Number of bends: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Bends&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
       &lt;SPAN style="color: #008080;"&gt;"Number of profiles (that includes outerprofile): "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;profile&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
       &lt;SPAN style="color: #008080;"&gt;"Number of breakthroughs: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;profile&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; - 1)

&lt;SPAN style="color: #808080;"&gt;'you don't need this part but might be good to know that it Is possible&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'For Each path As ProfilePath In profile&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'    Dim addMaterial = Path.AddsMaterial&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'    For Each ent As ProfileEntity In Path&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'        ' in the ProfileEntities you can find the &lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'        ' Information to calulate the perimeter of the &lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'        ' breakthroughs and the outer perimeter&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'    Next&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;()
&lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ExitEdit&lt;/SPAN&gt;()&lt;/PRE&gt;</description>
    <pubDate>Fri, 04 Dec 2020 21:26:59 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2020-12-04T21:26:59Z</dc:date>
    <item>
      <title>How to export certain model properties from a iPart in to an excel sheet.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9915641#M118779</link>
      <description>&lt;P&gt;To calculate the manufactering costs of sheet metal i need the folowing propertis:&lt;BR /&gt;&lt;SPAN&gt;-code part&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-width&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-height&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-description&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-thickness&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-height flat model&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-width flat model&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-perimeter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-n° of breakthroughs ( number of times the laser will have to desente, exemple attached)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-n° of folds (total folds of the piece) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I need help with finding the n° of breakthroughs ( number of times the laser will have to decente, exemple attached) and help with exporting all those parameters into a excel sheet.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 15:36:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9915641#M118779</guid>
      <dc:creator>JonnyPot</dc:creator>
      <dc:date>2020-12-04T15:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to export certain model properties from a iPart in to an excel sheet.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9916524#M118800</link>
      <description>&lt;P&gt;you can try this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SheetMetalComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;HasFlatPattern&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edit&lt;/SPAN&gt;()
&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Unfold&lt;/SPAN&gt;()
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PlanarSketch&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Sketches&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TopFace&lt;/SPAN&gt;, &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;)

&lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Profiles&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddForSolid&lt;/SPAN&gt;()


&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;profile&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Profile&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Profiles&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Number of bends: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Bends&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
       &lt;SPAN style="color: #008080;"&gt;"Number of profiles (that includes outerprofile): "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;profile&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
       &lt;SPAN style="color: #008080;"&gt;"Number of breakthroughs: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;profile&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; - 1)

&lt;SPAN style="color: #808080;"&gt;'you don't need this part but might be good to know that it Is possible&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'For Each path As ProfilePath In profile&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'    Dim addMaterial = Path.AddsMaterial&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'    For Each ent As ProfileEntity In Path&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'        ' in the ProfileEntities you can find the &lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'        ' Information to calulate the perimeter of the &lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'        ' breakthroughs and the outer perimeter&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'    Next&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;sketch&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;()
&lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ExitEdit&lt;/SPAN&gt;()&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2020 21:26:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9916524#M118800</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2020-12-04T21:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to export certain model properties from a iPart in to an excel sheet.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9917404#M118811</link>
      <description>&lt;P&gt;After reading &lt;A href="https://forums.autodesk.com/t5/inventor-customization/loop-value-on-iproperties/td-p/9248332" target="_blank" rel="noopener"&gt;this&lt;/A&gt; post i realised there is a better way to do this.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SheetMetalComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;HasFlatPattern&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Edit&lt;/SPAN&gt;()
&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Unfold&lt;/SPAN&gt;()
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;FlatPattern&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;edgeloops&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;EdgeLoops&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;TopFace&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;EdgeLoops&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oMeasure&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MeasureTools&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;MeasureTools&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;outerPerimeter&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = 0
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;breakthroughsPerimeter&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Double&lt;/SPAN&gt; = 0
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;edgeLoop&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;EdgeLoop&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;edgeloops&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;' length is multiplied by 10 to convert cm to mm&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;edgeLength&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oMeasure&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetLoopLength&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;EdgeLoop&lt;/SPAN&gt;) * 10

	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;EdgeLoop&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsOuterEdgeLoop&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;outerPerimeter&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;outerPerimeter&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;edgeLength&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;breakthroughsPerimeter&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;breakthroughsPerimeter&lt;/SPAN&gt; + &lt;SPAN style="color: #800000;"&gt;edgeLength&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;flat&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ExitEdit&lt;/SPAN&gt;()
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Number of bends: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;def&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Bends&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
		&lt;SPAN style="color: #008080;"&gt;"Number of edge loops (that includes outerprofile): "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;edgeloops&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
		&lt;SPAN style="color: #008080;"&gt;"Number of breakthroughs: "&lt;/SPAN&gt; &amp;amp; (&lt;SPAN style="color: #800000;"&gt;edgeloops&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; - 1) &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
		&lt;SPAN style="color: #008080;"&gt;"Total outer perimeter: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;Math&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Round&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;outerPerimeter&lt;/SPAN&gt;, 1) &amp;amp; &lt;SPAN style="color: #800000;"&gt;System&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Environment&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;NewLine&lt;/SPAN&gt; &amp;amp;
		&lt;SPAN style="color: #008080;"&gt;"Total breakthroughs perimeter: "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;Math&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Round&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;breakthroughsPerimeter&lt;/SPAN&gt;, 2))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 11:43:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9917404#M118811</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2020-12-05T11:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to export certain model properties from a iPart in to an excel sheet.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9920215#M118827</link>
      <description>&lt;P&gt;do you know if it's possible to export that information from all the instances of a iPart to a excel sheet?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 08:25:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-export-certain-model-properties-from-a-ipart-in-to-an/m-p/9920215#M118827</guid>
      <dc:creator>JonnyPot</dc:creator>
      <dc:date>2020-12-07T08:25:16Z</dc:date>
    </item>
  </channel>
</rss>

