AutoCAD的WCS是Y轴向上的,我想建立一个Y轴向下的坐标系,下面是我的代码:
Dim ucsObj As AcadUCS, origin(2) As Double, xAxisPnt(2) As Double, yAxisPnt(2) As Double xAxisPnt(0) = 1: yAxisPnt(1) = -1 Set ucsObj = CadDoc.UserCoordinateSystems.Add(origin, xAxisPnt, yAxisPnt, "newUCS") CadDoc.ActiveUCS = ucsObj
问题是在新坐标系下添加的文字都是倒的!不知道这是为何?请高手帮忙 |