摘要: [CommandMethod("GTest")] public static void GTest() { var p1 = new Point3d(0, 0, 0); var p2 = new Point3d(100, 0, 0); var p3 = new Point3d(100, 100, 0 阅读全文
posted @ 2022-02-18 15:24 公寓城影子传说 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 参考资料:https://blog.csdn.net/keenrob/article/details/102953239 1 RegionUtil.SetBorderLeft(1, region, sheet, workbook)//左 2 RegionUtil.SetBorderRight(1, 阅读全文
posted @ 2020-12-11 14:53 公寓城影子传说 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 引用Revit自带的 Adwindow.dll 代码例子如下。 阅读全文
posted @ 2020-10-22 14:01 公寓城影子传说 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 参考其他人demo,做了小修改。 <Style TargetType="CheckBox" > <Setter Property="Template" > <Setter.Value> <ControlTemplate TargetType="CheckBox"> <DockPanel> <Cont 阅读全文
posted @ 2020-08-29 17:28 公寓城影子传说 阅读(144) 评论(0) 推荐(0) 编辑
摘要: step 1:写个类A继承接口 IExternalCommandAvailability,实现方法返回true. 2:加到菜单时,Pushbutton .AvailabilityClassName=A的全名。 阅读全文
posted @ 2020-03-11 14:46 公寓城影子传说 阅读(133) 评论(0) 推荐(0) 编辑
摘要: view的API ConvertTemporaryHideIsolateToPermanent() 实现将隐藏/隔离应用到视图。 隔离和隐藏的说明参考: https://www.cnblogs.com/minhost/p/6868021.html revit 链接模型 https://forums. 阅读全文
posted @ 2019-08-14 10:15 公寓城影子传说 阅读(553) 评论(0) 推荐(0) 编辑
摘要: Inno setup 安装脚本,检查NET Framework 环境,并删除安装文件 阅读全文
posted @ 2017-12-07 19:26 公寓城影子传说 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 来自 lstPt 是按顺序的顶点坐标 阅读全文
posted @ 2017-08-04 18:28 公寓城影子传说 阅读(214) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2016-01-13 10:58 公寓城影子传说 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: 打开VS命令提示行1.注册ActiveX控件(带上VCbox.ocx的路径)regsvr32 VCbox.ocx2.编译OCX文件aximpVCbox.ocx生成两个dll文件,项目中引用Ax前缀的文件 阅读全文
posted @ 2015-12-21 12:16 公寓城影子传说 阅读(1283) 评论(0) 推荐(0) 编辑