Example #1
0
		internal static void parseFields(IfcRoof r, List<string> arrFields, ref int ipos)
		{
			IfcBuildingElement.parseFields(r, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				r.mPredefinedType = (IfcRoofTypeEnum)Enum.Parse(typeof(IfcRoofTypeEnum), str.Substring(1, str.Length - 2));
		}
Example #2
0
		internal IfcRoof(IfcRoof r) : base(r) { mPredefinedType = r.mPredefinedType; }
Example #3
0
		internal static IfcRoof Parse(string strDef) { IfcRoof r = new IfcRoof(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos); return r; }
Example #4
0
 public Pset_ConcreteElementGeneral(IfcRoof instance)
     : base(instance.mDatabase, "Pset_ConcreteElementGeneral")
 {
     Description = instance.Name; DefinesOccurrence.Assign(instance);
 }