internal static void parseFields(IfcQuantityLength q, List<string> arrFields, ref int ipos, ReleaseVersion schema)
{
IfcPhysicalSimpleQuantity.parseFields(q, arrFields, ref ipos);
string str = arrFields[ipos++];
if (!double.TryParse(str, out q.mLengthValue))
{
if (str.StartsWith("IFCLENGTHMEASURE"))
{
str = str.Substring(17, str.Length - 18);
double.TryParse(str, out q.mLengthValue);
}
}
if (schema != ReleaseVersion.IFC2x3)
q.mFormula = arrFields[ipos++].Replace("'", "");
}