上传者: 46566450
|
上传时间: 2021-12-24 18:28:13
|
文件大小: 31KB
|
文件类型: -
支持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);