I want to insert Knot to surface by rhinopython, I have already try many way to do it, but false, help me please.
Sorry for my English skill.
import rhinoscriptsyntax as rs
obj = rs.GetObject(“11”)
poi = rs.GetPointOnSurface(obj, “222”)
if VarType(strObject) == vbString:
poi1 = rs.SurfaceClosestPoint(obj, poi)
rs.Command("_InsertKnot " + " SelID " + str(obj) + " _enter ")