internal static IfcCurtainWall Parse(string strDef, Schema schema) { IfcCurtainWall w = new IfcCurtainWall(); int ipos = 0; parseFields(w, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return w; }
internal static void parseFields(IfcCurtainWall 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] == '.') w.mPredefinedType = (IfcCurtainWallTypeEnum)Enum.Parse(typeof(IfcCurtainWallTypeEnum), str.Substring(1, str.Length - 2)); } }
internal IfcCurtainWall(IfcCurtainWall w) : base(w) { mPredefinedType = w.mPredefinedType; }