public Pset_ConcreteElementGeneral(IfcPile instance) : base(instance.mDatabase, "Pset_ConcreteElementGeneral") { Description = instance.Name; DefinesOccurrence.Assign(instance); }
internal static IfcPile Parse(string strDef) { IfcPile p = new IfcPile(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal static void parseFields(IfcPile p, List<string> arrFields, ref int ipos) { IfcBuildingElement.parseFields(p, arrFields, ref ipos); string s = arrFields[ipos++]; if (s[0] == '.') p.mPredefinedType = (IfcPileTypeEnum)Enum.Parse(typeof(IfcPileTypeEnum), s.Replace(".", "")); s = arrFields[ipos++]; if (s[0] == '.') p.mConstructionType = (IfcPileConstructionEnum)Enum.Parse(typeof(IfcPileConstructionEnum), s.Replace(".", "")); }
internal IfcPile(IfcPile p) : base(p) { mPredefinedType = p.mPredefinedType; mConstructionType = p.mConstructionType; }