该类定义了Revit中的挑檐类型。挑檐通常沿建筑物的边缘或屋顶线安装,用于掩盖屋顶系统的细节。
// 创建一个挑檐
Fascia fascia = new Fascia();
fascia.Name = "My Fascia";
fascia.Profile = GetFasciaProfile();
fascia.Symbol = GetFasciaSymbol();
fascia.Thickness = 0.1;
// 在墙上添加挑檐
Wall wall = GetMyWall();
fascia.AddToWall(wall);
// 在屋顶上添加挑檐
RoofBase roof = GetMyRoof();
fascia.AddToRoof(roof);
// 连接两个挑檐
Fascia otherFascia = GetOtherFascia();
XYZ cornerPoint = GetCornerPoint();
fascia.JoinAtCorner(otherFascia, cornerPoint);