Hello people !
Who wants to discuss better path matching for Grasshopper2.0?
Current path matching (basically reduced to branch index) is great for small files and to learn Grasshopper.But once you understand datatrees, it’s the most frustrating thing (same level as nuking scripts with simplify, although different topic).
What about a default simple strict matching behaviour, and a right click component option for lazy match?
'''
Tree 1: patients
{0;0} a
{0;1} b
{0;3} c
+
Tree 2: medications
{0;2} x
{0;3} y
=
{0;3} c + y
let's not kill anyone :wink:
'''
I have tons of examples and arguments for a stricter approach, and I cannot find any real benefits of the current implementation except teaching bad habits…
I just wanted to start the discussion and let the examples flow in. I might do a recap post as new topic at some point.
Also, I love metadata in GH2, but it’s a complete different thing, and not the answer to this. 
Cheers,
Antoine
Note: I’m not asking for datatree help
1 Like
I very much agree with you. This is really causing so many issues in GH1 as soon as you start getting serious about data structures.
@DavidRutten,
My suggestion would be to have the options on components to simply have strict match or simple match.
Is noone here using datatrees extensively? Or are we not using them the same way? 
Typically the datatrees we work with are 4 to 10 levels deep, where each index means something about the data carried for each path. (although each tree its own datatype)
Any Grasshopper warriors I’ve talked to and/or worked with agree that a stricter path matching option would be a huge plus for the overall reliability and our mental health.
We currently have a few native workarounds but that slows the process quite significantly, and somehow we still encounter some exceptions occasionally.
Maybe the strict path matching could be optional like @Timo_Harboe_Nielsen said? (even though, I personally think it’d be better as default
)
If there are hard reasons against it that I didn’t think of, I’d love to ear them, it’s just a discussion here anyway 