<?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 Export all vertices from Part Document without selection in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-all-vertices-from-part-document-without-selection/m-p/6313409#M63737</link>
    <description>&lt;P&gt;Hello everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Part Document that's a result of a subtraction (with kDerivedSubtractAll) in a DerivedAssemblyDefinition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to export the coordinates of the vertices/points included in the Part geometry to an Excel File without selecting them. So, I need&amp;nbsp;either an&amp;nbsp;automatic selection&amp;nbsp;of all part-vertices and then export of their coordinates or an automatic recognition of the part's vertices created as a result of the Subtraction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to use the "workpoints" with DocDef.workpoints&amp;nbsp;so to have all points of part as an output&amp;nbsp; but all I get exported to the Excel Document is just one point with zero values (probably the ucs-origin) so I assume that the workpoints do not represent all points/vertices in an activedocument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
    <pubDate>Sat, 07 May 2016 12:13:22 GMT</pubDate>
    <dc:creator>efhara</dc:creator>
    <dc:date>2016-05-07T12:13:22Z</dc:date>
    <item>
      <title>Export all vertices from Part Document without selection</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-all-vertices-from-part-document-without-selection/m-p/6313409#M63737</link>
      <description>&lt;P&gt;Hello everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Part Document that's a result of a subtraction (with kDerivedSubtractAll) in a DerivedAssemblyDefinition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to export the coordinates of the vertices/points included in the Part geometry to an Excel File without selecting them. So, I need&amp;nbsp;either an&amp;nbsp;automatic selection&amp;nbsp;of all part-vertices and then export of their coordinates or an automatic recognition of the part's vertices created as a result of the Subtraction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to use the "workpoints" with DocDef.workpoints&amp;nbsp;so to have all points of part as an output&amp;nbsp; but all I get exported to the Excel Document is just one point with zero values (probably the ucs-origin) so I assume that the workpoints do not represent all points/vertices in an activedocument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2016 12:13:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-all-vertices-from-part-document-without-selection/m-p/6313409#M63737</guid>
      <dc:creator>efhara</dc:creator>
      <dc:date>2016-05-07T12:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export all vertices from Part Document without selection</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-all-vertices-from-part-document-without-selection/m-p/6315640#M63771</link>
      <description>&lt;P&gt;How are the points you are trying to export being created. Do you simply mean the end points of the edges of the parts (vertices) or are there actual points/workpoints in the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your just trying to get all the part edges end points you'll need to do something like. (I didn't test the following just kind of generated it on the fly)&lt;/P&gt;&lt;PRE&gt;For i = 1 to oPartDef.SurfaceBodies.Count
     For j = 1 to oPartDef.SurfaceBodies.Item(i).Edges.Count
          oStartPoint = oPartDef.SurfaceBodies.Item(i).Edges.Item(j).StartVertex.Point
          oStopPoint = oPartDef.SurfaceBodies.Item(i).Edges.Item(j).StopVertex.Point
          'DO SOMETHING WITH THE POINTS HERE 
          '.... Exporting Points.....
     Next
Next&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'll need a little more information, I believe, to help you along here if this isn't what you are trying to do.&lt;/P&gt;&lt;P&gt;An image of your model with the points your working with might be helpful if its not easily explained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 15:07:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-all-vertices-from-part-document-without-selection/m-p/6315640#M63771</guid>
      <dc:creator>NSBowser</dc:creator>
      <dc:date>2016-05-09T15:07:35Z</dc:date>
    </item>
  </channel>
</rss>

