I really like the new Drag Shapes feature in Grasshopper 2 — it makes the workflow much more intuitive!
I’m wondering how I can access or extend this feature through C#.
For example, can we create custom drag shapes, or modify their behavior programmatically?
Specifically, I’d like to make a draggable point that moves only along a given curve, rather than freely in 2D or 3D space.
Is there currently a way to constrain drag behavior like this through the GH2 API?
我非常喜欢 Grasshopper 2 中的新特性 Drag Shapes —— 它让工作流程变得更加直观!
我想了解如何通过 C# 来访问或扩展这个功能。
例如,我们是否可以创建自定义的拖拽形状,或者以编程的方式修改它们的行为?
我目前的目标是:希望实现一个只能沿指定曲线拖动的点,而不是在 2D 或 3D 空间中自由移动。
请问通过 GH2 的 API,目前是否有办法实现这种受约束的拖拽行为?
