Signature
RetVal = object.TranslateCoordinates(OriginalPoint, From, To, Disp[, OCSNormal])
Object
MSITStore
:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_utility_object.htm" target="_blank" >Utility
The object or objects this method applies to.
OriginalPoint
Variant (three-element array of doubles); input-only
The 3D WCS coordinates specifying the original coordinates to be translated. This parameter can be treated as a point or a displacement vector depending on the value of Disp.
From
AcCoordinateSystem enum; input-only
The coordinate system from which the point originates.
acWorld
acUCS
acOCS
acDisplayDCS
acPaperSpaceDCS
To
AcCoordinateSystem enum; input-only
The coordinate system to which the point will be conv

本文介绍了如何在AutoCAD中使用Lisp获取经过偏置处理的对象在用户坐标系(UCS)中的准确边界坐标。通过调用Object.TranslateCoordinates方法,结合OriginalPoint、From、To、Disp和OCSNormal参数,可以实现从世界坐标系(WCS)到UCS的坐标转换,从而得到所需坐标点。
最低0.47元/天 解锁文章
286

被折叠的 条评论
为什么被折叠?



