摘要:
[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 阅读全文
摘要:
参考资料:https://blog.csdn.net/keenrob/article/details/102953239 1 RegionUtil.SetBorderLeft(1, region, sheet, workbook)//左 2 RegionUtil.SetBorderRight(1, 阅读全文
摘要:
引用Revit自带的 Adwindow.dll 代码例子如下。 阅读全文
摘要:
参考其他人demo,做了小修改。 <Style TargetType="CheckBox" > <Setter Property="Template" > <Setter.Value> <ControlTemplate TargetType="CheckBox"> <DockPanel> <Cont 阅读全文
摘要:
step 1:写个类A继承接口 IExternalCommandAvailability,实现方法返回true. 2:加到菜单时,Pushbutton .AvailabilityClassName=A的全名。 阅读全文
摘要:
view的API ConvertTemporaryHideIsolateToPermanent() 实现将隐藏/隔离应用到视图。 隔离和隐藏的说明参考: https://www.cnblogs.com/minhost/p/6868021.html revit 链接模型 https://forums. 阅读全文
摘要:
Inno setup 安装脚本,检查NET Framework 环境,并删除安装文件 阅读全文
摘要:
来自 lstPt 是按顺序的顶点坐标 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
摘要:
打开VS命令提示行1.注册ActiveX控件(带上VCbox.ocx的路径)regsvr32 VCbox.ocx2.编译OCX文件aximpVCbox.ocx生成两个dll文件,项目中引用Ax前缀的文件 阅读全文