internal static void parseFields(IfcDuctSilencer a, List<string> arrFields, ref int ipos)
{
IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
string s = arrFields[ipos++];
if (s.StartsWith("."))
a.mPredefinedType = (IfcDuctSilencerTypeEnum)Enum.Parse(typeof(IfcDuctSilencerTypeEnum), s.Replace(".", ""));
}
internal new static IfcDuctSilencer Parse(string strDef) { IfcDuctSilencer d = new IfcDuctSilencer(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return d; }