|
楼主 |
发表于 2008-4-11 15:52
|
显示全部楼层
来自: 中国上海
太抱歉了,好长时间不上网了。
发短代码,找朋友交流下。
import kcs_ui
import kcs_util
import kcs_dex
import kcs_draft
import kcs_hull
import kcs_hullpan
import KcsArc2D
import KcsCircle2D
import KcsColour
import KcsConic2D
import KcsContour2D
import KcsEllipse2D
import KcsLine3D
import KcsLinetype
import KcsModel
import KcsPlane3D
import KcsPoint2D
import KcsPoint3D
import KcsPolygon2D
import KcsPolygon3D
import KcsRectangle2D
import KcsRline2D
import KcsStat_point3D_req
import KcsStringlist
import KcsSymbollist
import KcsStat_point3D_req
import KcsTransformation3D
import KcsVector2D
import KcsVector3D
import string
import math
import copy
import sys
import fpformat
import protbarlib
OK = kcs_util.ok()
CANCEL = kcs_util.cancel()
QUIT = kcs_util.quit()
OPTION = kcs_util.options()
OC = kcs_util.operation_complete()
YES = kcs_util.yes()
NO = kcs_util.no()
ALL = kcs_util.all()
UNDO = kcs_util.undo()
REJECT = kcs_util.reject()
EF = kcs_util.exit_function()
def Mainpro():
try:
cur_drawing_name = kcs_draft.dwg_name_get()
protbarlib.proc()
except:
print 'Program End'
def run():
Mainpro()
if (__name__ == '__main__'):
run() |
|