DataTree selection rules - Grasshopper2024-03-29T08:46:22Zhttps://www.grasshopper3d.com/forum/topics/datatree-selection-rules?commentId=2985220%3AComment%3A951055&feed=yes&xn_auth=noHi David,
How do you get the…tag:www.grasshopper3d.com,2018-02-23:2985220:Comment:18883692018-02-23T19:34:20.397ZYevgeny Koramblyumhttps://www.grasshopper3d.com/profile/YevgenyKoramblyum
<p>Hi David,</p>
<p>How do you get the last item in the tree? I know in "list item" we can choose (-1), but that does not work in split tree.</p>
<p></p>
<p>Thanks,</p>
<p>Yevgeny</p>
<p>Hi David,</p>
<p>How do you get the last item in the tree? I know in "list item" we can choose (-1), but that does not work in split tree.</p>
<p></p>
<p>Thanks,</p>
<p>Yevgeny</p> Flip Matrix or Path Mapper wi…tag:www.grasshopper3d.com,2017-11-03:2985220:Comment:18459622017-11-03T11:03:17.090ZJoe Allberryhttps://www.grasshopper3d.com/profile/JoeAllberry
<p>Flip Matrix or Path Mapper will let you do this. </p>
<p></p>
<p>Sometimes Path Mapper will be a little restrictive, as if you change your tree structure up stream of it the rule will no longer be valid. Have a little search on the Forum though; there's plenty of tricks and advice hidden on these pages.</p>
<p>Flip Matrix or Path Mapper will let you do this. </p>
<p></p>
<p>Sometimes Path Mapper will be a little restrictive, as if you change your tree structure up stream of it the rule will no longer be valid. Have a little search on the Forum though; there's plenty of tricks and advice hidden on these pages.</p> Is it possible to select item…tag:www.grasshopper3d.com,2017-11-03:2985220:Comment:18461202017-11-03T10:44:33.996ZArmano Papageorgehttps://www.grasshopper3d.com/profile/ArmanoPapageorge
<p>Is it possible to select items with the same index from every branch? And then therefore have the items with the same index create their own branch</p>
<p>Is it possible to select items with the same index from every branch? And then therefore have the items with the same index create their own branch</p> Hi gang,
What am I doing wr…tag:www.grasshopper3d.com,2015-08-29:2985220:Comment:13511102015-08-29T14:25:53.765ZMax Mhttps://www.grasshopper3d.com/profile/MaxMay
<p>Hi gang, </p>
<p></p>
<p>What am I doing wrong?</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769033894?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769033894?profile=original" width="666" class="align-full"/></a></p>
<p>Hi gang, </p>
<p></p>
<p>What am I doing wrong?</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769033894?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769033894?profile=original" width="666" class="align-full"/></a></p> Hi David,
I am struggling to…tag:www.grasshopper3d.com,2015-08-09:2985220:Comment:13401822015-08-09T00:54:18.335ZAlejandro Pacheco Diéguezhttps://www.grasshopper3d.com/profile/3ahr35r8m5dl1
<p>Hi David, </p>
<p>I am struggling to find a solution related to data tree management. I am trying to find the closest wall to each window in a room (see picture below) but I cannot manage get the resulting data tree that I would like.</p>
<p>It would be really useful to be able to solve this because I often have similar problems.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654922895?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2654922895?profile=RESIZE_1024x1024" width="721"></img></a> Thanks in…</p>
<p>Hi David, </p>
<p>I am struggling to find a solution related to data tree management. I am trying to find the closest wall to each window in a room (see picture below) but I cannot manage get the resulting data tree that I would like.</p>
<p>It would be really useful to be able to solve this because I often have similar problems.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2654922895?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2654922895?profile=RESIZE_1024x1024" width="721" class="align-full"/></a>Thanks in advance, </p>
<p>Ale</p> Thanks!tag:www.grasshopper3d.com,2015-05-06:2985220:Comment:12814182015-05-06T07:58:52.876Zphilliphttps://www.grasshopper3d.com/profile/phillip
<p>Thanks!</p>
<p>Thanks!</p> Curly braces indicate placeho…tag:www.grasshopper3d.com,2015-05-05:2985220:Comment:12809132015-05-05T16:38:56.745ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Curly braces indicate placeholders. The number inside curly braces indicates which input value should be inserted at that location. If you want to use curly braces just as curly braces, you need to 'escape' them by using two curly braces.</p>
<p></p>
<p>If you want to achieve this: {A to B} where A and B are numbers stored in indices 0 and 1 respectively, the format you need is: {{<strong>{0}</strong> to <strong>{1}</strong>}} where the bold braces indicate placeholders and the regular…</p>
<p>Curly braces indicate placeholders. The number inside curly braces indicates which input value should be inserted at that location. If you want to use curly braces just as curly braces, you need to 'escape' them by using two curly braces.</p>
<p></p>
<p>If you want to achieve this: {A to B} where A and B are numbers stored in indices 0 and 1 respectively, the format you need is: {{<strong>{0}</strong> to <strong>{1}</strong>}} where the bold braces indicate placeholders and the regular braces indicate just braces, but they're doubled up because they need to be escaped.</p>
<p></p>
<p>This is one (of many) online resources talking about how format works: <a href="http://timtrott.co.uk/string-formatting-examples/" target="_blank">http://timtrott.co.uk/string-formatting-examples/</a></p> Cool, thanks David!
I still d…tag:www.grasshopper3d.com,2015-05-05:2985220:Comment:12809122015-05-05T16:12:30.507Zphilliphttps://www.grasshopper3d.com/profile/phillip
<p>Cool, thanks David!</p>
<p>I still do not quite get the formating though. How do I get a mask with the inputs as the domain bounds?</p>
<p>Derived from the above using <em>{{0}}to{{1}}</em> will result in a static output and <em>"{"{0}to{1}"}"</em> is not accepted.…</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768989651?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2768989651?profile=RESIZE_1024x1024" width="721"></img></a></p>
<p>Cool, thanks David!</p>
<p>I still do not quite get the formating though. How do I get a mask with the inputs as the domain bounds?</p>
<p>Derived from the above using <em>{{0}}to{{1}}</em> will result in a static output and <em>"{"{0}to{1}"}"</em> is not accepted.</p>
<p><a target="_self" href="http://storage.ning.com/topology/rest/1.0/file/get/2768989651?profile=original"><img width="721" class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2768989651?profile=RESIZE_1024x1024" width="721"/></a></p> I added support for floating…tag:www.grasshopper3d.com,2015-05-05:2985220:Comment:12808522015-05-05T15:53:02.846ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>I added support for floating point values in rule notation to GH1 for Rhino WIP:</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768989637?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2768989637?profile=original" width="659" class="align-full"/></a></p>
<p>I added support for floating point values in rule notation to GH1 for Rhino WIP:</p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2768989637?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2768989637?profile=original" width="659" class="align-full"/></a></p> Hi Philip,
yes I can support…tag:www.grasshopper3d.com,2015-05-05:2985220:Comment:12808512015-05-05T15:46:03.128ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Hi Philip,</p>
<p></p>
<p>yes I can support floating point numbers in addition to pure integers, but you'd still have to add the {, }, [, and ] brackets to make it valid notation.</p>
<p>Hi Philip,</p>
<p></p>
<p>yes I can support floating point numbers in addition to pure integers, but you'd still have to add the {, }, [, and ] brackets to make it valid notation.</p>