Inheritance: IfcGroup
Exemplo n.º 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);
         }
     }
 }
Exemplo n.º 2
0
		internal IfcRelServicesBuildings(IfcSystem sys, IfcSpatialElement se)
			: base(sys.mDatabase) { mRelatingSystem = sys.mIndex; mRelatedBuildings.Add(se.mIndex); se.mServicedBySystems.Add(this); }
Exemplo n.º 3
0
		internal new static IfcSystem Parse(string strDef) { IfcSystem s = new IfcSystem(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
Exemplo n.º 4
0
		internal static void parseFields(IfcSystem s, List<string> arrFields, ref int ipos) { IfcGroup.parseFields(s, arrFields, ref ipos); }
Exemplo n.º 5
0
		internal IfcSystem(IfcSystem p) : base(p) { }