cxzcs 发表于 2005-8-1 13:45:00

如果需要得到RotationAngle的值,需要取AcadDimRotated类的什么属性呀?

<BR>请问我在进行调用AddDimRotated时,<BR>    Dim rDim As AcadDimRotated<BR>    Dim point1(0 To 2) As Double<BR>    Dim point2(0 To 2) As Double<BR>    Dim location(0 To 2) As Double<BR>    Dim angle As Double<BR>    point1(0) = 10: point1(1) = 3: point1(2) = 0<BR>    point2(0) = 10: point2(1) = 30: point2(2) = 0<BR>    location(0) = 25: location(1) = 17: location(2) = 0<BR>    Set rDim = doc.ModelSpace.AddDimRotated(point1, point2, location, 90 * 3.141592 / 180)<BR>    angle = rDim.Rotation<BR>    为什么angle=0呀。看来想要获得旋转角度不能使用Rotation属性。如果需要得到RotationAngle的值,需要取AcadDimRotated类的什么属性呀?<BR>

wyj7485 发表于 2005-8-1 18:22:00

rDim.Measurement
页: [1]
查看完整版本: 如果需要得到RotationAngle的值,需要取AcadDimRotated类的什么属性呀?