From 934d1faecb6875af97bdf1877ab5d877703f6c93 Mon Sep 17 00:00:00 2001 From: DYH <1742647821@qq.com> Date: Sat, 6 May 2023 23:10:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=8F=98=E9=87=8FLastPoint=E7=9A=84=E5=9D=90=E6=A0=87?= =?UTF-8?q?(UCS)=E7=9A=84=E9=9D=99=E6=80=81=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CAD/IFox.CAD.Shared/Runtime/Env.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CAD/IFox.CAD.Shared/Runtime/Env.cs b/src/CAD/IFox.CAD.Shared/Runtime/Env.cs index 7e8085a..0c23f66 100644 --- a/src/CAD/IFox.CAD.Shared/Runtime/Env.cs +++ b/src/CAD/IFox.CAD.Shared/Runtime/Env.cs @@ -102,6 +102,10 @@ public static bool OrthoMode get => Convert.ToInt16(Acap.GetSystemVariable("ORTHOMODE")) == 1; set => Acap.SetSystemVariable("ORTHOMODE", Convert.ToInt16(value)); } + /// + /// 获取系统变量LastPoint的坐标(UCS) + /// + public static Point3d LastPoint => (Point3d)Acap.GetSystemVariable("LASTPOINT"); #region Dimblk -- Gitee