internal static void parseFields(IfcExternalSpatialElement gp, List<string> arrFields, ref int ipos)
{
IfcSpatialStructureElement.parseFields(gp, arrFields, ref ipos);
string s = arrFields[ipos++];
if (s[0] == '.')
gp.mPredefinedType = (IfcExternalSpatialElementTypeEnum)Enum.Parse(typeof(IfcExternalSpatialElementTypeEnum), s.Replace(".", ""));
}
protected override string BuildStringSTEP() { return base.BuildStringSTEP() + (mPredefinedType == IfcExternalSpatialElementTypeEnum.NOTDEFINED ? ",$" : ",." + mPredefinedType.ToString() + "."); }