internal new static IfcDuctSegment Parse(string strDef) { IfcDuctSegment s = new IfcDuctSegment(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal IfcDuctSegment(IfcDuctSegment s) : base(s) { mPredefinedType = s.mPredefinedType; }
internal static void parseFields(IfcDuctSegment s, List<string> arrFields, ref int ipos) { IfcFlowSegment.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') s.mPredefinedType = (IfcDuctSegmentTypeEnum)Enum.Parse(typeof(IfcDuctSegmentTypeEnum), str.Substring(1, str.Length - 2)); }
internal IfcDuctSegment(DatabaseIfc db, IfcDuctSegment s) : base(db,s) { mPredefinedType = s.mPredefinedType; }