首页 > TAG信息列表 > TaskDialog
RevitAPI选择与某个管道相连的所有管道
using Autodesk.Revit.UI;using Autodesk.Revit.DB;using Autodesk.Revit.Attributes;using Autodesk.Revit.UI.Selection;using Autodesk.Revit.DB.Plumbing;using System.Collections.Generic;using System.Linq; namespace autoMake{ [Transaction(TransactionMode.ManuRevit几何操作集合
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Autodesk.Revit.Attributes;using Autodesk.Revit.DB;using Autodesk.Revit.ApplicationServices;using Autodesk.Revit.UI;using Autodesk.Revit.UIRevitAPI按照类型与管径遍历水管并记录参数特征
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; } public double[] getVolpra(Pipe