GeometryGym.Ifc.IfcElementAssemblyType.parseFields C# (CSharp) Méthode

parseFields() static private méthode

static private parseFields ( IfcElementAssemblyType t, List arrFields, int &ipos ) : void
t IfcElementAssemblyType
arrFields List
ipos int
Résultat void
		internal static void parseFields(IfcElementAssemblyType t, List<string> arrFields, ref int ipos)
		{
			IfcElementType.parseFields(t, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s.StartsWith("."))
				t.mPredefinedType = (IfcElementAssemblyTypeEnum)Enum.Parse(typeof(IfcElementAssemblyTypeEnum), s.Replace(".", ""));
		}
		protected override string BuildStringSTEP() { return (mDatabase.mRelease == ReleaseVersion.IFC2x3 ? "" : base.BuildStringSTEP() + ",." + mPredefinedType.ToString() + "."); }