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