2019年4月9日

摘要: [CommandMethod("CBline")] //对称画线 public void CBline() { Document doc = Application.DocumentManager.MdiActiveDocument; Editor edit = doc.Editor; Databa 阅读全文
posted @ 2019-04-09 16:07 yannis.wh,yang 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 主要代码: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using GrxCAD.Runtime;using GrxCAD 阅读全文
posted @ 2019-04-09 16:04 yannis.wh,yang 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 基于浩辰CAD2019 需求: 开发线转圆简单命令。命令过程:1) 请选择图中直线(要求支持一次选多个):2) 弹出对话框,输入圆的图层名和半径3) 点对话框中确定按钮,结束命令。命令执行效果:所选每条直线的起点和终点处,自动生成两个圆;同时,所有直线自动整体平移MOVE一个向量AcGeVector 阅读全文
posted @ 2019-04-09 16:01 yannis.wh,yang 阅读(1194) 评论(0) 推荐(1) 编辑

导航