Exemplo n.º 1
0
        public void copy1()
        {
            Point3d sourcePt = new Point3d(0, 0, 0);
            Point3d targetPt = new Point3d(100, 100, 0);
            Entity  ent      = InteractionUtil.getEntity("\n 选择要删除的对象");

            GoatCopyUtil.copyById(ent.Id, sourcePt, targetPt);
        }
Exemplo n.º 2
0
        public void msg1()
        {
            Entity ent = InteractionUtil.getEntity("\n 选择对象");

            BaseData.ed.WriteMessage("\n 你选择的对象ObjectId:" + ent.ObjectId);
        }