Наследование: IfcElementComponent
Пример #1
0
 internal IfcBuildingElementPart(DatabaseIfc db, IfcBuildingElementPart p, DuplicateOptions options) : base(db, p, options)
 {
     mPredefinedType = p.mPredefinedType;
 }
Пример #2
0
 internal IfcBuildingElementPart(DatabaseIfc db, IfcBuildingElementPart p, IfcOwnerHistory ownerHistory, bool downStream) : base(db, p, ownerHistory, downStream)
 {
     mPredefinedType = p.mPredefinedType;
 }
Пример #3
0
		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(".", ""));
			}
		}
Пример #4
0
		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; }
Пример #5
0
		internal IfcBuildingElementPart(IfcBuildingElementPart b) : base(b) { }
Пример #6
0
 internal IfcBuildingElementPart(DatabaseIfc db, IfcBuildingElementPart p)
     : base(db, p)
 {
     mPredefinedType = p.mPredefinedType;
 }