public static IEnumerable <IfcDoorPanelProperties> GetDoorPanelProperties(this IfcDoorStyle doorStyle) { return(doorStyle.HasPropertySets.OfType <IfcDoorPanelProperties>()); }
public static IfcDoorLiningProperties GetDoorLiningProperties(this IfcDoorStyle doorStyle) { return(doorStyle.HasPropertySets.OfType <IfcDoorLiningProperties>().FirstOrDefault()); }