algorithmic modeling for Rhino
I was try to use Meshpatch in GH.
It is not in SDK for rhino 5.0 but rhino 6.
So other approach is using RhinoScript.
Then I run into the problem which is how to select multiple ID for the holes.
I wrote this.
private void RunScript(bool reset, Guid OutCrv, Guid Holes, ref object A)
{
if(reset)
{
// RhinoApp.RunScript(finalString, true);
RhinoApp.RunScript("_MeshPatch " + "_SelID " + OutCrv.ToString() + "_Enter" + "_SelID " + Holes.ToString() + "_Enter", true);
}
But the problem is "Holes" iincluding multiple ID.
Which means I should repeat ["_SelID " + Holes.ToString()] many times.
For example, if it is running in Rhino Macro, it is something like this.
Tags:
Welcome to
Grasshopper
Added by morteza khorsand 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by morteza khorsand 0 Comments 0 Likes
Added by morteza khorsand 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by