public static IEnumerable <IIfcObjectDefinition> GetGroupedObjects(this IIfcGroup gr) { return(gr.IsGroupedBy.SelectMany(r => r.RelatedObjects)); }
public static IEnumerable <T> GetGroupedObjects <T>(this IIfcGroup gr) where T : IIfcObjectDefinition { return(GetGroupedObjects(gr).OfType <T>()); }
public GroupViewModel(IIfcGroup gr, IXbimViewModel parent) { _group = gr; CreatingParent = parent; }