代码改变世界

随笔档案-2021年08月

调整坐标值函数--供自己参考

2021-08-29 12:45 by wwx的个人博客, 92 阅读, 收藏, 编辑
摘要: using Autodesk.Revit.DB;using Autodesk.Revit.UI;using Microsoft.Office.Interop.Excel;using System;using System.Collections.Generic;using System.Linq;u 阅读全文

Revit建筑建模

2021-08-28 13:42 by wwx的个人博客, 240 阅读, 收藏, 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Autodesk.Revit.ApplicationService 阅读全文

Revit几何操作集合

2021-08-28 13:34 by wwx的个人博客, 444 阅读, 收藏, 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Autodesk.Revit.Attributes;using A 阅读全文

Revit计算各类空间构件总范围

2021-08-28 13:26 by wwx的个人博客, 172 阅读, 收藏, 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Autodesk.Revit.DB;using Autodesk. 阅读全文

Revit记录需要涂黑的格子---供自己使用

2021-08-28 13:14 by wwx的个人博客, 101 阅读, 收藏, 编辑
摘要: class Program { public class Map_divide { //XYZ的个数 public int XNum { get { return XNum; } set { XNum = value; } } public int YNum { get { return YNum; 阅读全文

RevitAPI按照类型与管径遍历水管并记录参数特征

2021-08-28 09:22 by wwx的个人博客, 158 阅读, 收藏, 编辑
摘要: public double[] getCirpara(Pipe pipe) { double[] p=new double[2]; double h=pipe.Diameter; double b = pipe.Diameter; p[0] = h;p[1] = b; return p; } pub 阅读全文

C#调用excel-1

2021-08-28 08:07 by wwx的个人博客, 109 阅读, 收藏, 编辑
摘要: interop string exportExcelPath = "export.xlsx"; Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application(); x 阅读全文
点击右上角即可分享
微信分享提示