摘要: 来自:https://blog.csdn.net/niuge8905/article/details/74082594 bool modelCurveZhu = revitDoc.LoadFamilySymbol(TempFamily.FamilyPath_first, System.IO.Path 阅读全文
posted @ 2025-09-07 14:14 公寓城影子传说 阅读(7) 评论(0) 推荐(0)
摘要: [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 公寓城影子传说 阅读(465) 评论(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 公寓城影子传说 阅读(640) 评论(0) 推荐(0)
摘要: 引用Revit自带的 Adwindow.dll 代码例子如下。 阅读全文
posted @ 2020-10-22 14:01 公寓城影子传说 阅读(113) 评论(0) 推荐(0)
摘要: 参考其他人demo,做了小修改。 <Style TargetType="CheckBox" > <Setter Property="Template" > <Setter.Value> <ControlTemplate TargetType="CheckBox"> <DockPanel> <Cont 阅读全文
posted @ 2020-08-29 17:28 公寓城影子传说 阅读(160) 评论(0) 推荐(0)
摘要: step 1:写个类A继承接口 IExternalCommandAvailability,实现方法返回true. 2:加到菜单时,Pushbutton .AvailabilityClassName=A的全名。 阅读全文
posted @ 2020-03-11 14:46 公寓城影子传说 阅读(147) 评论(0) 推荐(0)
摘要: view的API ConvertTemporaryHideIsolateToPermanent() 实现将隐藏/隔离应用到视图。 隔离和隐藏的说明参考: https://www.cnblogs.com/minhost/p/6868021.html revit 链接模型 https://forums. 阅读全文
posted @ 2019-08-14 10:15 公寓城影子传说 阅读(611) 评论(0) 推荐(0)
摘要: Inno setup 安装脚本,检查NET Framework 环境,并删除安装文件 阅读全文
posted @ 2017-12-07 19:26 公寓城影子传说 阅读(435) 评论(0) 推荐(0)
摘要: 来自 lstPt 是按顺序的顶点坐标 阅读全文
posted @ 2017-08-04 18:28 公寓城影子传说 阅读(227) 评论(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 公寓城影子传说 阅读(1590) 评论(0) 推荐(0)