Hello All,
I m trying to create an enchanced split command by using temporary cutplanes
import rhinoscriptsyntax as rs
objs = rs.GetObjects("Select objects for cut plane")
if objs:
point0 = rs.GetPoint("Start of cut plane")
if point0:
point1 = rs.GetPoint("End of cut plane", point0)
if point1: cutplane = rs.AddCutPlane( objs, point0, point1 )
rs.Command("_Split")
rs.DeleteObjects(cutplane)
Can you please tell me how i can pass the obj and cutplane arguments to the split command so that i dont have to reselect them?
6 posts - 2 participants