各位大神好: 
       我在写一个脚本时遇到如下问题,求各位大神指导,拜谢了。 
以下是脚本代码: 
 
#coding=utf-8 
import rhinoscriptsyntax as rs 
import scriptcontext as sc 
while True: 
    rs.Command("_Circle ") 
    Cir = rs.LastCreatedObjects(False) 
    rs.SelectObject(Cir) 
    if Cir == None: 
        break 
    rs.Command(" _Offset ") 
    rs.Command("_History _R=是 _U=是 _L=否 " + " _Enter", False) 
    rs.SelectObject(Cir) 
    rs.EnableObjectGrips(Cir) 
    rs.UnselectAllObjects() 
    while True: 
        point = rs.GetObjectGrip("选取要调整的控制点") 
        rs.Command("_Move " + str(point[2])) 
        if point == None: 
            continue 
    rs.EnableObjectGrips(Cir,False) 
    rs.SelectObject(Cir) 
    if sc.escape_test(False): 
        break 
 
 |