Exemplo n.º 1
0
		internal new static IfcMechanicalFastenerType Parse(string strDef,Schema schema) { IfcMechanicalFastenerType t = new IfcMechanicalFastenerType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return t; }
Exemplo n.º 2
0
		internal static void parseFields(IfcMechanicalFastenerType t, List<string> arrFields, ref int ipos,Schema schema)
		{
			IfcElementComponentType.parseFields(t, arrFields, ref ipos);
			if (schema != Schema.IFC2x3)
			{
				t.mPredefinedType = (IfcMechanicalFastenerTypeEnum)Enum.Parse(typeof(IfcMechanicalFastenerTypeEnum), arrFields[ipos++].Replace(".", ""));
				t.mNominalDiameter = ParserSTEP.ParseDouble(arrFields[ipos++]);
				t.mNominalLength = ParserSTEP.ParseDouble(arrFields[ipos++]);
			}
		}
Exemplo n.º 3
0
		internal IfcMechanicalFastenerType(IfcMechanicalFastenerType t) : base(t) { mNominalDiameter = t.mNominalDiameter; mNominalLength = t.mNominalLength; mPredefinedType = t.mPredefinedType; }