<?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: Importing sketch data to vba in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419500#M125809</link>
    <description>I want to handle the distance of the each pair of points (any idea is okay)</description>
    <pubDate>Fri, 25 Jun 2021 07:15:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-25T07:15:21Z</dc:date>
    <item>
      <title>Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10416604#M125760</link>
      <description>&lt;P&gt;I want to make code to automize the design. I want to import sketch data into VBA (or VB.NET) . Can somebody help me which library does it help this. I want to know the information of lines, length, position etc&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 06:17:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10416604#M125760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-24T06:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10417099#M125761</link>
      <description>&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ActiveDocument&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPartCompDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oPartCompDef&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oSketch&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Sketch&lt;/SPAN&gt;

	&lt;SPAN style="color: #800000;"&gt;oSketch&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oPartCompDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Sketches&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(1)&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FINET L .&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 10:13:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10417099#M125761</guid>
      <dc:creator>FINET_Laurent</dc:creator>
      <dc:date>2021-06-24T10:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10418395#M125792</link>
      <description>&lt;P&gt;Can you please explain what you want in more detail?&amp;nbsp; It is a little difficult to understand.&amp;nbsp; It sounds like you are trying to automate something, and to do so you want to gather information about a sketch and/or all the individual entities within a sketch.&amp;nbsp; If so, why?&amp;nbsp; What are you looking for?&amp;nbsp; What are you planning on doing with this data?&amp;nbsp; What kind of end result are you trying to achieve?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 18:16:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10418395#M125792</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2021-06-24T18:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419365#M125804</link>
      <description>&lt;P&gt;I used this code to import point coordinates but I think I need to read and write to the point by using code.(sketchpoints code can only read ) is there any possible way to interact directly with the inventor and VBA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Private Sub CommandButton1_Click()&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dim opartDoc As PartDocument&lt;BR /&gt;Set opartDoc = ThisApplication.ActiveDocument&lt;BR /&gt;Dim opartcompdef As PartComponentDefinition&lt;BR /&gt;Set opartcompdef = opartDoc.ComponentDefinition&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dim osketch As Sketch&lt;BR /&gt;Set osketch = opartcompdef.Sketches.Item(1)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dim osketchPoint As SketchPoint&lt;BR /&gt;Dim coll_x As New ArrayList&lt;BR /&gt;Dim coll_y As New ArrayList&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For Each osketchPoint In osketch.SketchPoints&lt;BR /&gt;&lt;BR /&gt;coll_x.Add osketchPoint.Geometry.x&lt;BR /&gt;coll_y.Add osketchPoint.Geometry.Y&lt;BR /&gt;&lt;BR /&gt;Next&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 05:48:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419365#M125804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T05:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419391#M125805</link>
      <description>I`m planning to make a standalone application or VBA module to help make a light beam guide board. This is the board that can mount mirrors, filters, lens etc.&lt;BR /&gt;so the first thing we need to do is draw a beam guide line and want to extract the information(beam guideline looks like branches, have right angle) of beam guide node information to the standalone application or VBA because we want to give a beam guide some constraint. (ex, lens equation, gaussian eq, beam size) so I want to know how can I interact with code? and inventor. (Sorry for the poor explanation. It`s hard to explain because this is my first time developing some programs, also VBA is my first time)</description>
      <pubDate>Fri, 25 Jun 2021 06:02:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419391#M125805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T06:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419500#M125809</link>
      <description>I want to handle the distance of the each pair of points (any idea is okay)</description>
      <pubDate>Fri, 25 Jun 2021 07:15:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419500#M125809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T07:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419505#M125810</link>
      <description>&lt;P&gt;Add a dimention with an user parameter ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure why you need a stand alone application for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FINET L.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:20:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419505#M125810</guid>
      <dc:creator>FINET_Laurent</dc:creator>
      <dc:date>2021-06-25T07:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419516#M125811</link>
      <description>I don`t exactly figure out the way to control the parameter. Is there better way to handle the parameter more easier?&lt;BR /&gt;&lt;BR /&gt;I`m planning to make a standalone application or VBA module to help make a light beam guide board. This is the board that can mount mirrors, filters, lens etc.&lt;BR /&gt;so the first thing we need to do is draw a beam guide line and want to extract the information(beam guideline looks like branches, have right angle) of beam guide node information to the standalone application or VBA because we want to give a beam guide some constraint. (ex, lens equation, gaussian eq, beam size) so I want to know how can I interact with code? and inventor. (Sorry for the poor explanation. It`s hard to explain because this is my first time developing some programs, also VBA is my first time)&lt;BR /&gt;I just want to import point information and want to handle it by code or some way&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Sung Joo Lim</description>
      <pubDate>Fri, 25 Jun 2021 07:25:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419516#M125811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T07:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sketch data to vba</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419526#M125812</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elei0947_0-1624606012655.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/934410i50C000F761CF9F95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elei0947_0-1624606012655.png" alt="elei0947_0-1624606012655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think i need to explain more about it. The above image is beam guideline and node. I wanted to import sketch data into the object( maybe it will be points of the node) and want to control the distance between points by using code.&amp;nbsp; Is there any good way to handle it?(&amp;nbsp; I wanted to make oop program)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;SJ Lim&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:34:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/importing-sketch-data-to-vba/m-p/10419526#M125812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-25T07:34:08Z</dc:date>
    </item>
  </channel>
</rss>

