Ejemplo n.º 1
0
 internal static void parseFields(IfcWall w, List <string> arrFields, ref int ipos, Schema schema)
 {
     IfcBuildingElement.parseFields(w, arrFields, ref ipos);
     if (schema != Schema.IFC2x3)
     {
         string str = arrFields[ipos++];
         if (str[0] == '.')
         {
             try
             {
                 w.mPredefinedType = (IfcWallTypeEnum)Enum.Parse(typeof(IfcWallTypeEnum), str.Substring(1, str.Length - 2));
             }
             catch (Exception) { }
         }
     }
 }
Ejemplo n.º 2
0
 internal static void parseFields(IfcWindow w, List <string> arrFields, ref int ipos, Schema schema)
 {
     IfcBuildingElement.parseFields(w, arrFields, ref ipos);
     w.mOverallHeight = ParserSTEP.ParseDouble(arrFields[ipos++]);
     w.mOverallWidth  = ParserSTEP.ParseDouble(arrFields[ipos++]);
     if (schema != Schema.IFC2x3)
     {
         string s = arrFields[ipos++];
         if (s.StartsWith("."))
         {
             w.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
         }
         s = arrFields[ipos++];
         if (s.StartsWith("."))
         {
             w.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), s.Replace(".", ""));
         }
         w.mUserDefinedPartitioningType = arrFields[ipos++];
     }
 }
Ejemplo n.º 3
0
 protected IfcBuildingElement(DatabaseIfc db, IfcBuildingElement e, DuplicateOptions options) : base(db, e, options)
 {
 }
Ejemplo n.º 4
0
 protected IfcBuildingElement(DatabaseIfc db, IfcBuildingElement e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream)
 {
 }
Ejemplo n.º 5
0
		protected static void parseFields(IfcBuildingElement e, List<string> arrFields, ref int ipos) { IfcElement.parseFields(e, arrFields, ref ipos); }
Ejemplo n.º 6
0
		protected IfcBuildingElement(IfcBuildingElement e) : base(e) { }
Ejemplo n.º 7
0
 protected IfcBuildingElement(DatabaseIfc db, IfcBuildingElement e)
     : base(db, e,false)
 {
 }