Recursive data in Grasshopper Style Elements

Would it be possible to create a Grasshopper Style Element that used data “about itself” within its definition? This would be a form of recursion. This would be useful in many ways, but to give one example, I’d like to have a Grasshopper Style Element that would change its appearance (e.g. geometry or color) when the insertion point of the element was above a certain value.

1 Like

Hi @Czaja you can use recursive data of the object to modify its shape, but when it comes to manage the appearance of it (display attributes) based on parameters, that’s not currently possible.

Could you please prepare a minimal Grasshopper Style definition in which I would obtain the insertion plane of the Element instance that is run with the given definition?
I can’t wrap my head around it.