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