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