<?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: BrainStorm ideas for table Creation in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6301133#M110224</link>
    <description>&lt;P&gt;I finally figured out how to even turn the sketches off in the view. &amp;nbsp;There is a tick mark that says include&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/236052i7CFAC2F77D551177/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="IncludeScreenShot.png" title="IncludeScreenShot.png" /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to use that in iLogic, or VB.NET? &amp;nbsp;I am currently looking...&lt;/P&gt;&lt;P&gt;If you uncheck the include mark, then the sketch is no longer visible. &amp;nbsp;That is what I need! &amp;nbsp;one step closer...&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 19:52:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-29T19:52:39Z</dc:date>
    <item>
      <title>BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6298129#M110219</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Currently, I am the only one in my office who has any knowledge about Inventor, so I am going to reach out to this group for some ideas to help develop a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my needs are to have an adjustable table that changes in number of rows with a fixed number of columns. &amp;nbsp; Every design we create will have a different possible number of coils. &amp;nbsp;From 1 to 100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I would like this to be driven with ilogic, which I can do. &amp;nbsp;The problem I am having is creating an adjustable table that can be generated based off of the number of coils needed. &amp;nbsp;The only way I can find is to edit the table and hide visibility of each row; &amp;nbsp;not effecient. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am trying a part that is only a table. &amp;nbsp;However, have not found a way to visibly hide lines that do not need to be seen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other options I have tried is to use ilogic to build the table, however, I can only do one row at a time, and then you would have to line up each coil appropriatly; not efficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Third option was to use ipart and pull that info by the coil used, again you would have to line up each row. &amp;nbsp;So... the hunt continues for the best solution. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Open to any ideas that this community might have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inventor 2016&lt;/P&gt;&lt;P&gt;Windows 7 Professional&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 13:55:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6298129#M110219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-28T13:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6299879#M110220</link>
      <description>&lt;PRE&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Mabey this is a part of my code could help you.&lt;BR /&gt;Basicly it imports the contents of your excel in a 2D array.&lt;BR /&gt;Only thing that you have to keep in mind using this method that it iterates through every row.&lt;BR /&gt;If there is a blank space in your first column the code stops.&lt;BR /&gt;&lt;BR /&gt;I also use another part of code to import all values in my first row.&lt;BR /&gt;This row i use as a "title" row. When i look up a value in the matrix i use the value in the title row to determine the correct column.&lt;BR /&gt;This way i can move columns around without adjusting the code because it searches the title instead of a pre defined column number.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;'Declare all variables

Dim Matrix ( 0 To 52, 0 To 1000 ) As String
Dim Temp As ArrayList
Dim ColumnStart As String
Dim ColumnEnd As String
Dim RowNumber As Integer

'Open and import all excel information for pump selection
GoExcel.Open("Pump generator 1.1.xlsx", "Pump_Selection")

Temp = GoExcel.CellValues("Pump generator 1.1.xlsx", "Pump_Selection", "A1", "")
RowNumber = Temp.Count


For i = 0 To RowNumber
ColumnStart = "A" &amp;amp; i + 1
ColumnEnd = "AZ" &amp;amp; i + 1
Temp = GoExcel.CellValues("Pump generator 1.1.xlsx", "Pump_Selection", ColumnStart, ColumnEnd)
	For j = 0 To 53
	Try
	Matrix(j,i) = Temp(j)
	Catch
	Continue For
	End Try
	Next
Next&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Apr 2016 08:24:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6299879#M110220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T08:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6300302#M110221</link>
      <description>BasPeeters,&lt;BR /&gt;Thanks for the idea, I will definitely give it a try and see how that works.</description>
      <pubDate>Fri, 29 Apr 2016 13:10:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6300302#M110221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T13:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6300666#M110222</link>
      <description>&lt;P&gt;ok, well, I think I have everthing I need to make this adjustable table work. &amp;nbsp;It will involve a lot of ilogic programming, but thats ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there is one last piece I would like to receive some help with.&lt;/P&gt;&lt;P&gt;The attached part file is working just how I want. &amp;nbsp;When you change the evapnumber the table adjusts and the appropriate sketches visibility are turned on and off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when that part is updated. &amp;nbsp;The drawing does not update the visibility of the sketches. &amp;nbsp;Not sure why? &amp;nbsp;Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 15:59:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6300666#M110222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6300998#M110223</link>
      <description>&lt;P&gt;Well, did some research created different view representations for &amp;nbsp;each row of the table as desired. &amp;nbsp;Yet... same result. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Applying the view representations to the view did not hide the sketches that I need hidden.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached are the updated document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 18:34:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6300998#M110223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T18:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6301133#M110224</link>
      <description>&lt;P&gt;I finally figured out how to even turn the sketches off in the view. &amp;nbsp;There is a tick mark that says include&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/236052i7CFAC2F77D551177/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="IncludeScreenShot.png" title="IncludeScreenShot.png" /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to use that in iLogic, or VB.NET? &amp;nbsp;I am currently looking...&lt;/P&gt;&lt;P&gt;If you uncheck the include mark, then the sketch is no longer visible. &amp;nbsp;That is what I need! &amp;nbsp;one step closer...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 19:52:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6301133#M110224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T19:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: BrainStorm ideas for table Creation</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6301280#M110225</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, I think I figured out how to make the sketches disappear the way I want them to. &amp;nbsp;It turns out the only way to hide sketches on a drawing is to create a rule in the drawing doc that hides the visibility of the sketch. &amp;nbsp;So thats what I have been trying to do today. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code makes it happen. &amp;nbsp;There are a few tweeks to work out like how to always have the same drawing view number and a few other glitches. &amp;nbsp;However, now I am able to turn on and off sketches as I need to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Copied a blog by&amp;nbsp;&lt;A href="http://adndevblog.typepad.com/manufacturing/xiaodong-liang.html" target="_self"&gt;Xiaodong Liang&lt;/A&gt;&amp;nbsp; with how to do this. &amp;nbsp;However, I was not using an assembly only a part document. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I also defined my part document with the actual file because that will not change. &amp;nbsp;However, the method follows so here is a link to that artilce for those that want it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/manufacturing/2016/03/inventor-api-hide-surface-bodies-of-drawing-view.html" target="_blank"&gt;http://adndevblog.typepad.com/manufacturing/2016/03/inventor-api-hide-surface-bodies-of-drawing-view.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sub Visibility()&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dim oDoc As DrawingDocument&lt;BR /&gt;Set oDoc = ThisApplication.ActiveDocument&lt;BR /&gt;&lt;BR /&gt;Dim oView As DrawingView&lt;BR /&gt;Set oView = oDoc.ActiveSheet.DrawingViews.Item(1)&lt;/P&gt;&lt;P&gt;Dim orefdoc As PartDocument&lt;BR /&gt;Set orefdoc = ThisApplication.Documents.Open("K:\Inventor\Coils\TableforEvapInfo.ipt", False)&lt;/P&gt;&lt;P&gt;Dim oevap1 As PlanarSketch&lt;BR /&gt;Dim oevap2 As PlanarSketch&lt;BR /&gt;Dim oevap3 As PlanarSketch&lt;BR /&gt;Set oevap1 = orefdoc.ComponentDefinition.Sketches.Item(2)&lt;BR /&gt;Set oevap2 = orefdoc.ComponentDefinition.Sketches.Item(3)&lt;BR /&gt;Set oevap3 = orefdoc.ComponentDefinition.Sketches.Item(4)&lt;/P&gt;&lt;P&gt;Call oView.SetVisibility(oevap1, True)&lt;BR /&gt;Call oView.SetVisibility(oevap2, False)&lt;BR /&gt;Call oView.SetVisibility(oevap3, False)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 21:56:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/brainstorm-ideas-for-table-creation/m-p/6301280#M110225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-29T21:56:37Z</dc:date>
    </item>
  </channel>
</rss>

