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 new static IfcDuctSegment Parse(string strDef) { IfcDuctSegment s = new IfcDuctSegment(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }