revit二次开发管线翻弯功能 public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements) { UIDocument uiDoc = commandData.Application.ActiveUIDocument; Document doc = uiDoc.Document; //交互选择第一个点ObjectType Reference reference = uiDoc.Selection.PickObject(ObjectType.PointOnElement, new Pipefilter()); XYZ point1 = reference.GlobalPoint; //交互选择第二个点 Reference
2022-10-08 00:04:33 74KB revit二开 管线翻弯
1