How to select the surface with the highest area from a list? - Grasshopper2024-03-29T14:16:14Zhttps://www.grasshopper3d.com/forum/topics/how-to-select-the-surface-with-the-highest-area-from-a-list?commentId=2985220%3AComment%3A2066748&x=1&feed=yes&xn_auth=noVery useful and simple. Seven…tag:www.grasshopper3d.com,2020-05-17:2985220:Comment:20667482020-05-17T01:17:20.417ZJuan Pablo Gómez Loaizahttps://www.grasshopper3d.com/profile/JuanPabloGomezLoaiza
<p>Very useful and simple. Seven years later, this response is still relevant for people who are learning. Thank you!</p>
<p>Very useful and simple. Seven years later, this response is still relevant for people who are learning. Thank you!</p> Ok, awesomely simple . . . Th…tag:www.grasshopper3d.com,2014-10-29:2985220:Comment:11574082014-10-29T03:36:03.754ZMike Calvinohttps://www.grasshopper3d.com/profile/MikeCalvino
<p>Ok, awesomely simple . . . Thank you once again!</p>
<p>Cheers!</p>
<p>Ok, awesomely simple . . . Thank you once again!</p>
<p>Cheers!</p> Just googled up this post of…tag:www.grasshopper3d.com,2014-04-14:2985220:Comment:10436022014-04-14T08:24:00.081ZDuncan Whttps://www.grasshopper3d.com/profile/DuncanW
<p>Just googled up this post of yours. Amazed how useful this is. Thank you!</p>
<p>Just googled up this post of yours. Amazed how useful this is. Thank you!</p> Thank you David! you are the…tag:www.grasshopper3d.com,2013-08-25:2985220:Comment:9045872013-08-25T20:01:10.737ZLui Larahttps://www.grasshopper3d.com/profile/LuiLara
<p>Thank you David! you are the greatest!, It worked like a charm!</p>
<p>Thank you David! you are the greatest!, It worked like a charm!</p> --
David Rutten
david@mcnee…tag:www.grasshopper3d.com,2013-08-25:2985220:Comment:9047432013-08-25T17:59:33.358ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768839910?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2768839910?profile=RESIZE_1024x1024" width="721" class="align-center"/></a></p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Tirol, Austria</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768839910?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2768839910?profile=RESIZE_1024x1024" width="721" class="align-center"/></a></p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Tirol, Austria</p> Hello David, you rock!.
Sadl…tag:www.grasshopper3d.com,2013-08-25:2985220:Comment:9047362013-08-25T17:01:33.944ZLui Larahttps://www.grasshopper3d.com/profile/LuiLara
<p>Hello David, you rock!.</p>
<p></p>
<p>Sadly I can't make it work.</p>
<p></p>
<p>I can't sort my surfaces to be in synchrony with my area list, If there's a way to sort a surface list by using the areas as index I can't figure it out.</p>
<p></p>
<p>Maybe I'll just input the value manually every time.</p>
<p></p>
<p>Thank you!.</p>
<p>Hello David, you rock!.</p>
<p></p>
<p>Sadly I can't make it work.</p>
<p></p>
<p>I can't sort my surfaces to be in synchrony with my area list, If there's a way to sort a surface list by using the areas as index I can't figure it out.</p>
<p></p>
<p>Maybe I'll just input the value manually every time.</p>
<p></p>
<p>Thank you!.</p> Compute and negate all areas…tag:www.grasshopper3d.com,2013-08-25:2985220:Comment:9043692013-08-25T08:53:32.616ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<ol>
<li>Compute and negate all areas (so the largest area becomes the smallest area).</li>
<li>Sort all areas.</li>
<li>Sort all surfaces synchronously.</li>
<li>Get item 0 out of the list of sorted surfaces.</li>
</ol>
<p></p>
<p>If you don't negate your areas, then you need to select the last item out of the list, which can be accomplished by using index=-1 and wrap=true</p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Tirol, Austria</p>
<ol>
<li>Compute and negate all areas (so the largest area becomes the smallest area).</li>
<li>Sort all areas.</li>
<li>Sort all surfaces synchronously.</li>
<li>Get item 0 out of the list of sorted surfaces.</li>
</ol>
<p></p>
<p>If you don't negate your areas, then you need to select the last item out of the list, which can be accomplished by using index=-1 and wrap=true</p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Tirol, Austria</p>