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