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

parseFields() protected static méthode

protected static parseFields ( IfcElementType t, List arrFields, int &ipos ) : void
t IfcElementType
arrFields List
ipos int
Résultat void
		protected static void parseFields(IfcElementType t, List<string> arrFields, ref int ipos) { IfcTypeProduct.parseFields(t, arrFields, ref ipos); t.mElementType = arrFields[ipos++].Replace("'", ""); }
		protected override string BuildStringSTEP()

Usage Example

Exemple #1
0
        internal static void parseFields(IfcGeographicElementType t, List <string> arrFields, ref int ipos)
        {
            IfcElementType.parseFields(t, arrFields, ref ipos);
            string s = arrFields[ipos++];

            if (s.StartsWith("."))
            {
                t.mPredefinedType = (IfcGeographicElementTypeEnum)Enum.Parse(typeof(IfcGeographicElementTypeEnum), s.Replace(".", ""));
            }
        }