I have this list. and I want to get the list in red rectange. tks all
List.GetItemAtIndex node will do the trick.
I used to use by level but I want to get most data of DEN TUBE LED 1200,
i WANT TO GET ALL PARAMETER OF DEN TUBE LED 1200
Because there are a lot of DEN TUBE LED 1200 mixed with my list. and i want to get only data of this list .
Ah, so you want ALL sublists which start with “DEN TUBE LED 1200”.
-
List.FirstItem
node with longest lacing. -
==
node to test if that value is “DEN TUBE LED 1200”. -
List.FilterByBoolMask
node to filter the original list of all data sets (your current watch node) by the mask result of the == node.
Try using a List.GroupByKey after the List.FirstItem node where the group and the list are the same. If you think you should have more data than you’re getting it’s possible that you have some bad data (ie: an extra ’ ’ at the end of the value) which you’ll have to deal with.
Dear Sir. your method worked very good. many thank sir !
because i forgot convert to list before get data.now it is ok. thank sir so much!
Oh. seem it is still not ok ?
Right click on List.FirstItem and change lacing to Longest
Think you’ll need to get rid of the extra List.Create too, but I may be wrong.
Can you explain for me the purpose of this option ?
Starts about 7 minute mark. You should likely review the whole series (8 episodes so far), and review the Dynamo Primer (skip nothing, do every exercise even if you don’t need the outcome - they are designed to teach you the methods not produce results).
A quick example of the difference with reference to List.FirstItem (Auto and Longest)