兰州人 发表于 2006-9-21 11:01:00

请教如何将UCS在VB中的应用!

使用VBA建立UCS的语句是
    ' Create a UCS and make it current
    origin(0) = 0: origin(1) = 0: origin(2) = 0
    xAxis(0) = 1: xAxis(1) = 1: xAxis(2) = 0
    yAxis(0) = -1: yAxis(1) = 1: yAxis(2) = 0
    Set newUCS = ThisDrawing.UserCoordinateSystems.Add(origin, xAxis, yAxis, "TestUCS")
    ThisDrawing.ActiveUCS = newUCS

我的问题是
lisp语言使用(command "ucs" "x" "") 绕X轴转90度,如何改成VBA语言
lisp语言使用(command "ucs" "")恢复到UCS的世界坐标,如何改成VBA语言。
lisp语言使用(command "ucs" "s" "aa")存贮到aa的UCS坐标系,如何改成VBA语言。
lisp语言使用(command "ucs" "r" "aa")恢复到aa的UCS坐标系,如何改成VBA语言。
谢谢,各位大侠
页: [1]
查看完整版本: 请教如何将UCS在VB中的应用!