public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                case 1:
                    base.IfcParse(propIndex, value);
                    break;
                case 2:
                    _profiles.Add((IfcProfileDef) value.EntityVal);
                    break;
                case 3:
                    _label = value.StringVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
             base.IfcParse(propIndex, value);
             break;
         case 4:
             _energySequence =
                 (IfcEnergySequenceEnum) Enum.Parse(typeof (IfcEnergySequenceEnum), value.EnumVal, true);
             break;
         case 5:
             _userDefinedEnergySequence = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
         case 5:
         case 6:
         case 7:
             base.IfcParse(propIndex, value);
             break;
         case 8:
             _steelGrade = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _referencedDocument = (IfcDocumentSelect) value.EntityVal;
             break;
         case 1:
             ((IXbimNoNotifyCollection)_referencingValues).Add((IfcAppliedValue) value.EntityVal);
             break;
         case 2:
             _name = value.StringVal;
             break;
         case 3:
             _description = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _Name = value.StringVal;
             break;
         case 1:
             _LightColour = (IfcColourRgb)value.EntityVal;
             break;
         case 2:
             _AmbientIntensity = value.RealVal;
             break;
         case 3:
             _Intensity = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #6
0
 public IfcStairFlight(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag, IfcInteger?__NumberOfRisers, IfcInteger?__NumberOfTreads, IfcPositiveLengthMeasure?__RiserHeight, IfcPositiveLengthMeasure?__TreadLength, IfcStairFlightTypeEnum?__PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag)
 {
     this._NumberOfRisers = __NumberOfRisers;
     this._NumberOfTreads = __NumberOfTreads;
     this._RiserHeight    = __RiserHeight;
     this._TreadLength    = __TreadLength;
     this._PredefinedType = __PredefinedType;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _profileName = value.StringVal;
             break;
         case 1:
             _profileDefinition = (IfcProfileDef) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #8
0
        public virtual void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                    _name = value.StringVal;
                    break;
                case 1:
                    _description = value.StringVal;
                    break;
                case 2:
                    _appliedValue = (IfcAppliedValueSelect) value.EntityVal;
                    break;
                case 3:
                    _unitBasis = (IfcMeasureWithUnit) value.EntityVal;
                    break;
                case 4:
                    _applicableDate = (IfcDateTimeSelect) value.EntityVal;
                    break;
                case 5:
                    _fixedUntilDate = (IfcDateTimeSelect) value.EntityVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             ((IXbimNoNotifyCollection)_shapeRepresentations).Add((IfcShapeModel) value.EntityVal);
             break;
         case 1:
             _name = value.StringVal;
             break;
         case 2:
             _description = value.StringVal;
             break;
         case 3:
             _productDefinitional = value.BooleanVal;
             break;
         case 4:
             _partOfProductDefinitionShape = (IfcProductDefinitionShape) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #10
0
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _description = value.StringVal;
             break;
         case 2:
             _startTime = (IfcDateTimeSelect) value.EntityVal;
             break;
         case 3:
             _endTime = (IfcDateTimeSelect) value.EntityVal;
             break;
         case 4:
             _timeSeriesDataType =
                 (IfcTimeSeriesDataTypeEnum) Enum.Parse(typeof (IfcTimeSeriesDataTypeEnum), value.EnumVal, true);
             break;
         case 5:
             _dataOrigin = (IfcDataOriginEnum) Enum.Parse(typeof (IfcDataOriginEnum), value.EnumVal, true);
             break;
         case 6:
             _userDefinedDataOrigin = value.StringVal;
             break;
         case 7:
             _unit = (IfcUnit) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #11
0
 public IfcStructuralCurveMember(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralCurveTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation)
 {
     this._PredefinedType = __PredefinedType;
 }
Example #12
0
 public IfcRelAssignsToActor(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcObjectDefinition[] __RelatedObjects, IfcObjectTypeEnum?__RelatedObjectsType, IfcActor __RelatingActor, IfcActorRole __ActingRole)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __RelatedObjects, __RelatedObjectsType)
 {
     this._RelatingActor = __RelatingActor;
     this._ActingRole    = __ActingRole;
 }
Example #13
0
 public IfcDimensionCalloutRelationship(IfcLabel?__Name, IfcText?__Description, IfcDraughtingCallout __RelatingDraughtingCallout, IfcDraughtingCallout __RelatedDraughtingCallout)
     : base(__Name, __Description, __RelatingDraughtingCallout, __RelatedDraughtingCallout)
 {
 }
 public IfcPropertyConstraintRelationship(IfcConstraint __RelatingConstraint, IfcProperty[] __RelatedProperties, IfcLabel?__Name, IfcText?__Description)
 {
     this._RelatingConstraint = __RelatingConstraint;
     this._RelatedProperties  = new HashSet <IfcProperty>(__RelatedProperties);
     this._Name        = __Name;
     this._Description = __Description;
 }
Example #15
0
 public IfcPropertyDefinition(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
 }
Example #16
0
 public IfcWorkPlan(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcIdentifier?__Identification, IfcDateTime __CreationDate, IfcPerson[] __Creators, IfcLabel?__Purpose, IfcDuration?__Duration, IfcDuration?__TotalFloat, IfcDateTime __StartTime, IfcDateTime?__FinishTime, IfcWorkPlanTypeEnum?__PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __Identification, __CreationDate, __Creators, __Purpose, __Duration, __TotalFloat, __StartTime, __FinishTime)
 {
     this.PredefinedType = __PredefinedType;
 }
Example #17
0
 public IfcEnergyProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcEnergySequenceEnum?__EnergySequence, IfcLabel?__UserDefinedEnergySequence)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._EnergySequence            = __EnergySequence;
     this._UserDefinedEnergySequence = __UserDefinedEnergySequence;
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _version = value.StringVal;
             break;
         case 2:
             _publisher = (IfcOrganization) value.EntityVal;
             break;
         case 3:
             _versionDate = (IfcCalendarDate) value.EntityVal;
             break;
         case 4:
             if (_libraryReference == null) _libraryReference = new XbimSet<IfcLibraryReference>(this);
             ((IXbimNoNotifyCollection)_libraryReference).Add((IfcLibraryReference) value.EntityVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _curveFont = (IfcCurveStyleFontSelect) value.EntityVal;
             break;
         case 2:
             _curveFontScaling = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #20
0
 public IfcRelDefines(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcObject[] __RelatedObjects)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._RelatedObjects = new HashSet <IfcObject>(__RelatedObjects);
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _dependingProperty = (IfcProperty) value.EntityVal;
             break;
         case 1:
             _dependantProperty = (IfcProperty) value.EntityVal;
             break;
         case 2:
             _name = value.StringVal;
             break;
         case 3:
             _description = value.StringVal;
             break;
         case 4:
             _expression = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #22
0
 public IfcRelationship(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             ((IXbimNoNotifyCollection)_materialLayers).Add((IfcMaterialLayer) value.EntityVal);
             break;
         case 1:
             _layerSetName = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcClassificationReference(IfcURIReference?__Location, IfcIdentifier?__Identification, IfcLabel?__Name, IfcClassificationReferenceSelect __ReferencedSource, IfcText?__Description, IfcIdentifier?__Sort)
     : base(__Location, __Identification, __Name)
 {
     this._ReferencedSource = __ReferencedSource;
     this._Description      = __Description;
     this._Sort             = __Sort;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _location = value.StringVal;
             break;
         case 1:
             _itemReference = value.StringVal;
             break;
         case 2:
             _name = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _resourceIdentifier = value.StringVal;
             break;
         case 6:
             _resourceGroup = value.StringVal;
             break;
         case 7:
             _resourceConsumption =
                 (IfcResourceConsumptionEnum) Enum.Parse(typeof (IfcResourceConsumptionEnum), value.EnumVal);
             break;
         case 8:
             _baseQuantity = (IfcMeasureWithUnit) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #27
0
 public IfcStructuralLoadCase(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcLoadGroupTypeEnum __PredefinedType, IfcActionTypeEnum __ActionType, IfcActionSourceTypeEnum __ActionSource, IfcRatioMeasure?__Coefficient, IfcLabel?__Purpose, IfcRatioMeasure[] __SelfWeightCoefficients)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __PredefinedType, __ActionType, __ActionSource, __Coefficient, __Purpose)
 {
     this.SelfWeightCoefficients = new List <IfcRatioMeasure>(__SelfWeightCoefficients);
 }
Example #28
0
 public IfcPort(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation)
 {
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _description = value.StringVal;
             break;
         case 2:
             _relatingConstraint = (IfcConstraint) value.EntityVal;
             break;
         case 3:
             ((IXbimNoNotifyCollection)_relatedConstraints).Add((IfcConstraint) value.EntityVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #30
0
 public IfcWindow(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag, IfcPositiveLengthMeasure?__OverallHeight, IfcPositiveLengthMeasure?__OverallWidth, IfcWindowTypeEnum?__PredefinedType, IfcWindowTypePartitioningEnum?__PartitioningType, IfcLabel?__UserDefinedPartitioningType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag)
 {
     this._OverallHeight               = __OverallHeight;
     this._OverallWidth                = __OverallWidth;
     this._PredefinedType              = __PredefinedType;
     this._PartitioningType            = __PartitioningType;
     this._UserDefinedPartitioningType = __UserDefinedPartitioningType;
 }
Example #31
0
 public IfcLagTime(IfcLabel?__Name, IfcDataOriginEnum?__DataOrigin, IfcLabel?__UserDefinedDataOrigin, IfcTimeOrRatioSelect __LagValue, IfcTaskDurationEnum __DurationType)
     : base(__Name, __DataOrigin, __UserDefinedDataOrigin)
 {
     this._LagValue     = __LagValue;
     this._DurationType = __DurationType;
 }
Example #32
0
 public IfcTendonType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcRepresentationMap[] __RepresentationMaps, IfcLabel?__Tag, IfcLabel?__ElementType, IfcTendonTypeEnum __PredefinedType, IfcPositiveLengthMeasure?__NominalDiameter, IfcAreaMeasure?__CrossSectionArea, IfcPositiveLengthMeasure?__SheathDiameter)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __RepresentationMaps, __Tag, __ElementType)
 {
     this._PredefinedType   = __PredefinedType;
     this._NominalDiameter  = __NominalDiameter;
     this._CrossSectionArea = __CrossSectionArea;
     this._SheathDiameter   = __SheathDiameter;
 }
Example #33
0
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _profileType = (IfcProfileTypeEnum) Enum.Parse(typeof (IfcProfileTypeEnum), value.EnumVal, true);
             break;
         case 1:
             _profileName = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #34
0
 public IfcAlignmentCurve(IfcAlignment2DHorizontal __Horizontal, IfcAlignment2DVertical __Vertical, IfcLabel?__Tag)
 {
     this.Horizontal = __Horizontal;
     this.Vertical   = __Vertical;
     this.Tag        = __Tag;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _description = value.StringVal;
             break;
         case 2:
             ((IXbimNoNotifyCollection)_representations).Add((IfcRepresentation) value.EntityVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcRelConnectsPortToElement(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPort __RelatingPort, IfcDistributionElement __RelatedElement)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._RelatingPort   = __RelatingPort;
     this._RelatedElement = __RelatedElement;
 }
Example #37
0
 public IfcRectangleProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __XDim, IfcPositiveLengthMeasure __YDim)
     : base(__ProfileType, __ProfileName, __Position)
 {
     this.XDim = __XDim;
     this.YDim = __YDim;
 }
Example #38
0
 public IfcPostalAddress(IfcAddressTypeEnum?__Purpose, IfcText?__Description, IfcLabel?__UserDefinedPurpose, IfcLabel?__InternalLocation, IfcLabel[] __AddressLines, IfcLabel?__PostalBox, IfcLabel?__Town, IfcLabel?__Region, IfcLabel?__PostalCode, IfcLabel?__Country)
     : base(__Purpose, __Description, __UserDefinedPurpose)
 {
     this._InternalLocation = __InternalLocation;
     this._AddressLines     = new List <IfcLabel>(__AddressLines);
     this._PostalBox        = __PostalBox;
     this._Town             = __Town;
     this._Region           = __Region;
     this._PostalCode       = __PostalCode;
     this._Country          = __Country;
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _relatingDocument = (IfcDocumentInformation) value.EntityVal;
             break;
         case 1:
             ((IXbimNoNotifyCollection)_relatedDocuments).Add((IfcDocumentInformation) value.EntityVal);
             break;
         case 2:
             _relationshipType = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #40
0
 protected IfcElementComponent(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag)
 {
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _description = value.StringVal;
             break;
         case 2:
             _relatingConstraint = (IfcConstraint) value.EntityVal;
             break;
         case 3:
             _relatedConstraints.Add_Reversible((IfcConstraint) value.EntityVal);
             break;
         case 4:
             _logicalAggregator =
                 (IfcLogicalOperatorEnum) Enum.Parse(typeof (IfcLogicalOperatorEnum), value.EnumVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #42
0
 public IfcRelSpaceBoundary(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcSpace __RelatingSpace, IfcElement __RelatedBuildingElement, IfcConnectionGeometry __ConnectionGeometry, IfcPhysicalOrVirtualEnum __PhysicalOrVirtualBoundary, IfcInternalOrExternalEnum __InternalOrExternalBoundary)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._RelatingSpace              = __RelatingSpace;
     this._RelatedBuildingElement     = __RelatedBuildingElement;
     this._ConnectionGeometry         = __ConnectionGeometry;
     this._PhysicalOrVirtualBoundary  = __PhysicalOrVirtualBoundary;
     this._InternalOrExternalBoundary = __InternalOrExternalBoundary;
 }
Example #43
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
         case 3:
         case 4:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _taskId = (IfcIdentifier)value.StringVal;
             break;
         case 6:
             _status = (IfcLabel)value.StringVal;
             break;
         case 7:
             _workMethod = (IfcLabel)value.StringVal;
             break;
         case 8:
             _isMilestone = value.BooleanVal;
             break;
         case 9:
             _priority = (int)value.IntegerVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #44
0
 public IfcRelAssignsToProduct(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcObjectDefinition[] __RelatedObjects, IfcObjectTypeEnum?__RelatedObjectsType, IfcProduct __RelatingProduct)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __RelatedObjects, __RelatedObjectsType)
 {
     this._RelatingProduct = __RelatingProduct;
 }
Example #45
0
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _description = value.StringVal;
             break;
         case 1:
             _approvalDateTime = (IfcDateTimeSelect) value.EntityVal;
             break;
         case 2:
             _approvalStatus = value.StringVal;
             break;
         case 3:
             _approvalLevel = value.StringVal;
             break;
         case 4:
             _approvalQualifier = value.StringVal;
             break;
         case 5:
             _name = value.StringVal;
             break;
         case 6:
             _identifier = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #46
0
 public IfcMove(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcIdentifier __TaskId, IfcLabel?__Status, IfcLabel?__WorkMethod, Boolean __IsMilestone, Int64?__Priority, IfcSpatialStructureElement __MoveFrom, IfcSpatialStructureElement __MoveTo, IfcText[] __PunchList)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __TaskId, __Status, __WorkMethod, __IsMilestone, __Priority)
 {
     this._MoveFrom  = __MoveFrom;
     this._MoveTo    = __MoveTo;
     this._PunchList = new List <IfcText>(__PunchList);
 }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                    base.IfcParse(propIndex, value);
                    break;
                case 6:
                    _parentContext = (IfcGeometricRepresentationContext)value.EntityVal;
                    break;
                case 7:
                    _targetScale = value.RealVal;
                    break;
                case 8:
                    _targetView =
                        (IfcGeometricProjectionEnum)Enum.Parse(typeof(IfcGeometricProjectionEnum), value.EnumVal, true);
                    break;
                case 9:
                    _userDefinedTargetView = value.StringVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Example #48
0
 public IfcActorRole(IfcRoleEnum __Role, IfcLabel?__UserDefinedRole, IfcText?__Description)
 {
     this._Role            = __Role;
     this._UserDefinedRole = __UserDefinedRole;
     this._Description     = __Description;
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _documentId = value.StringVal;
             break;
         case 1:
             _name = value.StringVal;
             break;
         case 2:
             _description = value.StringVal;
             break;
         case 3:
             if (_documentReferences == null) _documentReferences = new XbimSet<IfcDocumentReference>(this);
             _documentReferences.Add_Reversible((IfcDocumentReference) value.EntityVal);
             break;
         case 4:
             _purpose = value.StringVal;
             break;
         case 5:
             _intendedUse = value.StringVal;
             break;
         case 6:
             _scope = value.StringVal;
             break;
         case 7:
             _revision = value.StringVal;
             break;
         case 8:
             _documentOwner = (IfcActorSelect) value.EntityVal;
             break;
         case 9:
             if (_editors == null) _editors = new XbimSet<IfcActorSelect>(this);
             _editors.Add_Reversible((IfcActorSelect) value.EntityVal);
             break;
         case 10:
             _creationTime = (IfcDateAndTime) value.EntityVal;
             break;
         case 11:
             _lastRevisionTime = (IfcDateAndTime) value.EntityVal;
             break;
         case 12:
             _electronicFormat = (IfcDocumentElectronicFormat) value.EntityVal;
             break;
         case 13:
             _validFrom = (IfcCalendarDate) value.EntityVal;
             break;
         case 14:
             _validUntil = (IfcCalendarDate) value.EntityVal;
             break;
         case 15:
             _confidentiality =
                 (IfcDocumentConfidentialityEnum)
                 Enum.Parse(typeof (IfcDocumentConfidentialityEnum), value.EnumVal, true);
             break;
         case 16:
             _status = (IfcDocumentStatusEnum) Enum.Parse(typeof (IfcDocumentStatusEnum), value.EnumVal, true);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #50
0
 public IfcTable(IfcLabel?__Name, IfcTableRow[] __Rows, IfcTableColumn[] __Columns)
 {
     this._Name    = __Name;
     this._Rows    = new List <IfcTableRow>(__Rows);
     this._Columns = new List <IfcTableColumn>(__Columns);
 }
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _fileExtension = value.StringVal;
             break;
         case 1:
             _mimeContentType = value.StringVal;
             break;
         case 2:
             _mimeSubtype = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #52
0
 public IfcDoorPanelProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPositiveLengthMeasure?__PanelDepth, IfcDoorPanelOperationEnum __PanelOperation, IfcNormalisedRatioMeasure?__PanelWidth, IfcDoorPanelPositionEnum __PanelPosition, IfcShapeAspect __ShapeAspectStyle)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._PanelDepth       = __PanelDepth;
     this._PanelOperation   = __PanelOperation;
     this._PanelWidth       = __PanelWidth;
     this._PanelPosition    = __PanelPosition;
     this._ShapeAspectStyle = __ShapeAspectStyle;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _description = value.StringVal;
             break;
         case 2:
             _relatedApproval = (IfcApproval) value.EntityVal;
             break;
         case 3:
             _relatingApproval = (IfcApproval) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #54
0
 public IfcAirToAirHeatRecovery(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag, IfcAirToAirHeatRecoveryTypeEnum?__PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag)
 {
     this.PredefinedType = __PredefinedType;
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _contextOfItems = (IfcRepresentationContext) value.EntityVal;
             break;
         case 1:
             _representationIdentifier = value.StringVal;
             break;
         case 2:
             _representationType = value.StringVal;
             break;
         case 3:
             ((IXbimNoNotifyCollection)_items).Add((IfcRepresentationItem) value.EntityVal);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public IfcCableCarrierSegmentType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcRepresentationMap[] __RepresentationMaps, IfcLabel?__Tag, IfcLabel?__ElementType, IfcCableCarrierSegmentTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __RepresentationMaps, __Tag, __ElementType)
 {
     this._PredefinedType = __PredefinedType;
 }
Example #57
0
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _name = value.StringVal;
             break;
         case 1:
             _description = value.StringVal;
             break;
         case 2:
             _constraintGrade = (IfcConstraintEnum) Enum.Parse(typeof (IfcConstraintEnum), value.EnumVal);
             break;
         case 3:
             _constraintSource = value.StringVal;
             break;
         case 4:
             _creatingActor = (IfcActorSelect) value.EntityVal;
             break;
         case 5:
             _creationTime = (IfcDateTimeSelect) value.EntityVal;
             break;
         case 6:
             _userDefinedGrade = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #58
0
 public IfcCircleHollowProfileDef(IfcProfileTypeEnum __ProfileType, IfcLabel?__ProfileName, IfcAxis2Placement2D __Position, IfcPositiveLengthMeasure __Radius, IfcPositiveLengthMeasure __WallThickness)
     : base(__ProfileType, __ProfileName, __Position, __Radius)
 {
     this.WallThickness = __WallThickness;
 }
Example #59
0
 public void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _axisTag = value.StringVal;
             break;
         case 1:
             _axisCurve = (IfcCurve)value.EntityVal;
             break;
         case 2:
             _sameSense = value.BooleanVal;
             break;
         default:
             throw new ArgumentOutOfRangeException(string.Format("P21 index value out of range in {0}",
                                                                 this.GetType().Name));
     }
 }
Example #60
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                case 6:
                case 7:
                case 8:
                    base.IfcParse(propIndex, value);
                    break;
                case 9:
                    if (!_refLatitude.HasValue) _refLatitude = new IfcCompoundPlaneAngleMeasure();
                    _refLatitude = _refLatitude.Value.Add((int)value.IntegerVal);
                    break;
                case 10:
                    if (!_refLongitude.HasValue) _refLongitude = new IfcCompoundPlaneAngleMeasure();
                    _refLongitude = _refLongitude.Value.Add((int)value.IntegerVal);
                    break;
                case 11:
                    _refElevation = value.RealVal;
                    break;
                case 12:
                    _landTitleNumber = value.StringVal;
                    break;
                case 13:
                    _siteAddress = (IfcPostalAddress)value.EntityVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }