public static Point3d Ucs2Wcs(Point3d point) { return point.TransformBy(Application.DocumentManager.MdiActiveDocument.Editor.CurrentUserCoordinateSystem); } public static Point3d Wcs2Ucs(Point3d point) { return point.TransformBy(Application.DocumentManager.MdiActiveDocument.Editor.CurrentUserCoordinateSystem.Inverse()); } |