internal static void parseFields(IfcRampFlight f, List<string> arrFields, ref int ipos, Schema schema) { IfcBuildingElement.parseFields(f, arrFields, ref ipos); if (schema != Schema.IFC2x3) { string str = arrFields[ipos++]; if (str[0] == '.') f.mPredefinedType = (IfcRampFlightTypeEnum)Enum.Parse(typeof(IfcRampFlightTypeEnum), str.Substring(1, str.Length - 2)); } }
internal IfcRampFlight(IfcRampFlight f) : base(f) { mPredefinedType = f.mPredefinedType; }
internal static IfcRampFlight Parse(string strDef, Schema schema) { IfcRampFlight f = new IfcRampFlight(); int ipos = 0; parseFields(f, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return f; }
public Pset_ConcreteElementGeneral(IfcRampFlight instance) : base(instance.mDatabase, "Pset_ConcreteElementGeneral") { Description = instance.Name; DefinesOccurrence.Assign(instance); }