支持revit2016~2021
var assit = new RvtTxt.CGeoNode();
var rf=commandData.Application.ActiveUIDocument.Selection.PickObject(Autodesk.Revit.UI.Selection.ObjectType.Element);
var el=commandData.Application.ActiveUIDocument.Document.GetElement(rf);
var geo=el.GetGeometryObjectFromReference(rf);
var lstNd=new List();
assit.ParaseGeoText(geo, lstNd);
2021-12-24 18:28:13
31KB
revit
1