//找到墙的正面 publicstaticFaceFindWallFace(Wallwall) { FacenormalFace=null; // Optionsopt=newOptions(); opt.ComputeReferences=true; opt.DetailLevel=Autodesk.Revit.DB.DetailLevels.Medium; // GeometryElemente=wall.get_Geometry(opt); foreach(GeometryObject