internal IfcBuildingElementPart(DatabaseIfc db, IfcBuildingElementPart p, DuplicateOptions options) : base(db, p, options) { mPredefinedType = p.mPredefinedType; }
internal IfcBuildingElementPart(DatabaseIfc db, IfcBuildingElementPart p, IfcOwnerHistory ownerHistory, bool downStream) : base(db, p, ownerHistory, downStream) { mPredefinedType = p.mPredefinedType; }
internal static void parseFields(IfcBuildingElementPart a, List<string> arrFields, ref int ipos, Schema schema) { IfcElementComponent.parseFields(a, arrFields, ref ipos); if (schema != Schema.IFC2x3) { string s = arrFields[ipos++]; if (s.StartsWith(".")) a.mPredefinedType = (IfcBuildingElementPartTypeEnum)Enum.Parse(typeof(IfcBuildingElementPartTypeEnum), s.Replace(".", "")); } }
internal static IfcBuildingElementPart Parse(string strDef, Schema schema) { IfcBuildingElementPart p = new IfcBuildingElementPart(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return p; }
internal IfcBuildingElementPart(IfcBuildingElementPart b) : base(b) { }
internal IfcBuildingElementPart(DatabaseIfc db, IfcBuildingElementPart p) : base(db, p) { mPredefinedType = p.mPredefinedType; }