<?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: need helping searching thru multiple lists... in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355610#M98277</link>
    <description>&lt;P&gt;i'm sorry... i don't know how to write for XML&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 17:02:50 GMT</pubDate>
    <dc:creator>leonard.bordian</dc:creator>
    <dc:date>2017-09-05T17:02:50Z</dc:date>
    <item>
      <title>need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355578#M98275</link>
      <description>&lt;P&gt;greetings everyone... i need some help and i'm not sure how to proceed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below, i have multiple lists...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIST01 - 143T,L143T,145T,L145T&lt;BR /&gt;LIST02 - 182T,L182T,184T,L184T&lt;BR /&gt;LIST03 - 213T,L213T,215T,L215T&lt;BR /&gt;LIST04 - 254T,256T&lt;BR /&gt;LIST05 - 284TS,284T,286TS,286T&lt;BR /&gt;LIST06 - 324TS,324T,326TS,326T&lt;BR /&gt;LIST07 - 364TS,3645T,364T,365T&lt;BR /&gt;LIST08 - 404TS,405TS,404T,405T&lt;BR /&gt;LIST09 - 444TS,445TS,444T,445T,445T&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when i have an item selected from a list; eg... Motor = 256T, i need iLogic to search the above lists, then i need iLogic to tell me which list 256T is in...example... MotorList = LIST04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the value returned, i will have my iLogic go to my Excel file and read the values from 'Sheet4'. i know how i will proceed from here. i'm just not sure how to get the value i'm looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is greatly appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Leonard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 16:51:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355578#M98275</guid>
      <dc:creator>leonard.bordian</dc:creator>
      <dc:date>2017-09-05T16:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355592#M98276</link>
      <description>XML is a perfect way to handle this kind of data.</description>
      <pubDate>Tue, 05 Sep 2017 16:55:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355592#M98276</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2017-09-05T16:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355610#M98277</link>
      <description>&lt;P&gt;i'm sorry... i don't know how to write for XML&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 17:02:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355610#M98277</guid>
      <dc:creator>leonard.bordian</dc:creator>
      <dc:date>2017-09-05T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355728#M98278</link>
      <description>&lt;P&gt;More information is required to help you at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why with hold information and keep us guessing, delaying your time until a solution when you can provide us with information up-front?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How much experience do you have with iLogic/programming?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where is code of things you have tried?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are the lists stored?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you used the iLogic GoExcel feature? (I suggest you try doing this before you report back and get an understanding of how it works).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where are you returning that value from excel to? A parameter, an expression?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;etc...&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 17:37:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355728#M98278</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-09-05T17:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355847#M98279</link>
      <description>&lt;P&gt;i apologize if i wasn't clear or if i didn't supply enough information. as for code, i wasn't sure how to proceed which is why i posted my original post&lt;/P&gt;&lt;P&gt;i tried to keep my original question very simple to avoid any confusing. as for my iLogic experience, i have some but i am not as advanced as most people here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Motor = 256T ''user selected parameter from another MultiValue.List&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here i need to search from the list below for the value = 256T (i don't know what to correctly write in iLogic to do this)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIST01 = MultiValue.List("143T,L143T,145T,L145T")&lt;BR /&gt;LIST02 = MultiValue.List("182T,L182T,184T,L184T")&lt;BR /&gt;LIST03 = MultiValue.List("213T,L213T,215T,L215T")&lt;BR /&gt;LIST04 = MultiValue.List("254T,256T")&lt;BR /&gt;LIST05 = MultiValue.List("284TS,284T,286TS,286T")&lt;BR /&gt;LIST06 = MultiValue.List("324TS,324T,326TS,326T")&lt;BR /&gt;LIST07 = MultiValue.List("364TS,3645T,364T,365T")&lt;BR /&gt;LIST08 = MultiValue.List("404TS,405TS,404T,405T")&lt;BR /&gt;LIST09 = MultiValue.List("444TS,445TS,444T,445T,445T")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MotorList = LIST04 (this a parameter the value will be written to from the above search)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;once i can get a value for the parameter = MotorList, i can proceed with the other code that i have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 18:09:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355847#M98279</guid>
      <dc:creator>leonard.bordian</dc:creator>
      <dc:date>2017-09-05T18:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355914#M98280</link>
      <description>&lt;P&gt;So you would be fine with these lists hardcoded into the iLogic/vb.net solution and not fetched from anywhere? (Easiest way, IMO)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so I would suggest using lists. It will look SOMETHING like below (which is mostly pseudocode)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub Main()&lt;BR /&gt;    SetClassificationParam("MTL56")&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sub SetClassificationParam(oSearchVal As String)

'oList1 will be named "Motor list"
Dim oList1 As New List(of String)
oList1.Add("MTL56")
oList1.Add("MTL72")

Dim oList2 As New List(of String)
oList2.Add("MTL23")
oList2.Add("MTL24")


If oList1.Contains(oSearchVal)
    oReturnParam = "Motor List")
Else if oList2.Contains(oSearchVal)
    oReturnParam = "Chassis List"
End if

Param.Partemer("Classification") = oReturnParam

End Sub&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Sep 2017 18:37:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7355914#M98280</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-09-05T18:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: need helping searching thru multiple lists...</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7356676#M98281</link>
      <description>&lt;P&gt;thank you so much!! this looks like what i may need. i will try this out later and let you know if i can get this to work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm sorry for not replying sooner&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 00:02:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-helping-searching-thru-multiple-lists/m-p/7356676#M98281</guid>
      <dc:creator>leonard.bordian</dc:creator>
      <dc:date>2017-09-06T00:02:21Z</dc:date>
    </item>
  </channel>
</rss>

