예제 #1
0
 public IfcGroup(IfcSpatialElement spatial, string name) : base(spatial.Database)
 {
     Name = name;
     if (!(this is IfcZone))
     {
         if (spatial.mDatabase.Release <= ReleaseVersion.IFC4X3_RC1)
         {
             IfcSystem system = this as IfcSystem;
             if (system != null)
             {
                 new IfcRelServicesBuildings(system, spatial)
                 {
                     Name = name
                 };
             }
         }
         else
         {
             spatial.ReferenceElement(this);
         }
     }
 }