Example #1
0
 internal static void parseFields(IfcWindowType s, List <string> arrFields, ref int ipos)
 {
     IfcBuildingElementType.parseFields(s, arrFields, ref ipos);
     s.mPredefinedType              = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), arrFields[ipos++].Replace(".", ""));
     s.mPartitioningType            = (IfcWindowTypePartitioningEnum)Enum.Parse(typeof(IfcWindowTypePartitioningEnum), arrFields[ipos++].Replace(".", ""));
     s.mParameterTakesPrecedence    = ParserSTEP.ParseBool(arrFields[ipos++]);
     s.mUserDefinedPartitioningType = arrFields[ipos++];
 }
Example #2
0
 internal static void parseFields(IfcWallType t, List <string> arrFields, ref int ipos)
 {
     IfcBuildingElementType.parseFields(t, arrFields, ref ipos);
     try
     {
         string str = arrFields[ipos++].Replace(".", "");
         if (string.Compare(str, "STANDARD", true) != 0)
         {
             t.mPredefinedType = (IfcWallTypeEnum)Enum.Parse(typeof(IfcWallTypeEnum), str);
         }
     }
     catch (Exception) { }
 }
Example #3
0
 protected IfcBuildingElementType(DatabaseIfc db, IfcBuildingElementType t, DuplicateOptions options) : base(db, t, options)
 {
 }
Example #4
0
 protected IfcBuildingElementType(DatabaseIfc db, IfcBuildingElementType t, IfcOwnerHistory ownerHistory, bool downStream) : base(db, t, ownerHistory, downStream)
 {
 }
Example #5
0
		protected static void parseFields(IfcBuildingElementType t, List<string> arrFields, ref int ipos) { IfcElementType.parseFields(t, arrFields, ref ipos); }
Example #6
0
		protected IfcBuildingElementType(IfcBuildingElementType t) : base(t) { }
Example #7
0
 protected IfcBuildingElementType(DatabaseIfc db, IfcBuildingElementType t)
     : base(db,t)
 {
 }