@onrender wrote:
Hi,
I tried the following script from the Python 101 but did not work. Could you tell me why?
I have created several curves and Run the script but nothing happened.import rhinoscriptsyntax as rs def lockcurves_nofail(): curves = rs.ObjectsByType(rs.filter.curve) if not curves: return False rs.LockObjects(curves) return True
Posts: 3
Participants: 2