internal static void parseFields(IfcOpeningElement e, List <string> arrFields, ref int ipos, Schema schema) { IfcFeatureElementSubtraction.parseFields(e, arrFields, ref ipos); if (schema != Schema.IFC2x3) { e.mPredefinedType = (IfcOpeningElementTypeEnum)Enum.Parse(typeof(IfcOpeningElementTypeEnum), arrFields[ipos++].Replace(".", "")); } }
internal static void parseFields(IfcVoidingFeature e, List <string> arrFields, ref int ipos, ReleaseVersion schema) { IfcFeatureElementSubtraction.parseFields(e, arrFields, ref ipos); if (schema != ReleaseVersion.IFC2x3) { e.mPredefinedType = (IfcVoidingFeatureTypeEnum)Enum.Parse(typeof(IfcVoidingFeatureTypeEnum), arrFields[ipos++].Replace(".", "")); } }
protected IfcFeatureElementSubtraction(DatabaseIfc db, IfcFeatureElementSubtraction e, DuplicateOptions options) : base(db, e, options) { IfcRelVoidsElement relVoidsElement = e.VoidsElement; VoidsElement = db.Factory.Duplicate(relVoidsElement, new DuplicateOptions() { DuplicateDownstream = false }) as IfcRelVoidsElement; VoidsElement.RelatingBuildingElement = db.Factory.Duplicate(relVoidsElement.RelatingBuildingElement, new DuplicateOptions() { DuplicateDownstream = false }) as IfcElement; VoidsElement.RelatedOpeningElement = this; }
public IfcRelVoidsElement(IfcElement host, IfcFeatureElementSubtraction fes) : base(host.mDatabase) { mRelatingBuildingElement = host.mIndex; host.mHasOpenings.Add(this); mRelatedOpeningElement = fes.mIndex; fes.mVoidsElement = this; }
protected static void parseFields(IfcFeatureElementSubtraction e, List<string> arrFields, ref int ipos) { IfcFeatureElement.parseFields(e, arrFields, ref ipos); }
protected IfcFeatureElementSubtraction(DatabaseIfc db, IfcFeatureElementSubtraction s) : base(db,s) { }
protected IfcFeatureElementSubtraction(IfcFeatureElementSubtraction s) : base(s) { }