Rotate Global Xand Y axis


Hi Guys,

Is there a way to rotate the global x and y axis of Rhino from the origin 0,0 using grasshopper?
I tried to rotate the geometry but it will be efficient if I could manage to rotate the global x and y axis?

thanks

Can you try this?

1 Like

private void RunScript(Plane plane)
{
  RhinoDocument.Views.ActiveView.ActiveViewport.
  SetConstructionPlane(plane);
}

SetConstructionPlane.gh (4.4 KB)

3 Likes

Thank you very much guys for your help, the plane is rotating but i am wondering how can I host the geometry to the x and y of the plane so that it will rotate as well, at the moment it rotate the plane but not the geometry, thanks.

image

What are you rotating from? The Orient Component will take input geometry from Plane A and transform it to Plane B.

image

2022-07-12_00-32-33

Thanks Japhy, kind regards.