Example #1
0
 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(".", ""));
     }
 }
Example #2
0
 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(".", ""));
     }
 }
Example #3
0
        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;
        }
Example #4
0
		public IfcRelVoidsElement(IfcElement host, IfcFeatureElementSubtraction fes)
			: base(host.mDatabase) { mRelatingBuildingElement = host.mIndex; host.mHasOpenings.Add(this); mRelatedOpeningElement = fes.mIndex; fes.mVoidsElement = this; }
Example #5
0
 protected static void parseFields(IfcFeatureElementSubtraction e, List<string> arrFields, ref int ipos)
 {
     IfcFeatureElement.parseFields(e, arrFields, ref ipos);
 }
Example #6
0
 protected IfcFeatureElementSubtraction(DatabaseIfc db, IfcFeatureElementSubtraction s)
     : base(db,s)
 {
 }
Example #7
0
		protected IfcFeatureElementSubtraction(IfcFeatureElementSubtraction s) : base(s) { }