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:
                _subsequentThickness.Add(value.RealVal);
                break;

            case 10:
                _varyingThicknessLocation = (IfcShapeAspect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Example #2
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
                base.IfcParse(propIndex, value);
                break;

            case 2:
                _definingValues.Add((IfcValue)value.EntityVal);
                break;

            case 3:
                _definedValues.Add((IfcValue)value.EntityVal);
                break;

            case 4:
                _expression = value.StringVal;
                break;

            case 5:
                _definingUnit = (IfcUnit)value.EntityVal;
                break;

            case 6:
                _definedUnit = (IfcUnit)value.EntityVal;
                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:
                _timeStep = value.RealVal;
                break;

            case 9:
                _values.Add((IfcTimeSeriesValue)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Example #4
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:
            case 9:
            case 10:
            case 11:
                base.IfcParse(propIndex, value);
                break;

            case 12:
                _varyingAppliedLoadLocation = (IfcShapeAspect)value.EntityVal;
                break;

            case 13:
                _subsequentAppliedLoads.Add((IfcStructuralLoad)value.EntityVal);
                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:
                _isAttenuating = value.BooleanVal;
                break;

            case 5:
                _soundScale = (IfcSoundScaleEnum)Enum.Parse(typeof(IfcSoundScaleEnum), value.EnumVal, true);
                break;

            case 6:
                _soundValues.Add((IfcSoundValue)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                base.IfcParse(propIndex, value);
                break;

            case 1:
                if (_fontFamily == null)
                {
                    _fontFamily = new XbimList <IfcTextFontName>(this);
                }
                if (value.Type == IfcParserType.String)
                {
                    _fontFamily.Add(new IfcTextFontName(value.StringVal));
                }
                else
                {
                    _fontFamily.Add((IfcTextFontName)value.EntityVal);
                }
                break;

            case 2:
                _fontStyle = value.StringVal;
                break;

            case 3:
                _fontVariant = value.StringVal;
                break;

            case 4:
                _fontWeight = value.StringVal;
                break;

            case 5:
                _fontSize = (IfcSizeSelect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Example #7
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     if (propIndex == 0)
     {
         _edgeList.Add((IfcOrientedEdge)value.EntityVal);
     }
     else
     {
         this.HandleUnexpectedAttribute(propIndex, value);
     }
 }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _spineCurve = (IfcCompositeCurve)value.EntityVal;
                break;

            case 1:
                _crossSections.Add((IfcProfileDef)value.EntityVal);
                break;

            case 2:
                _crossSectionPositions.Add((IfcAxis2Placement3D)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Example #9
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:
                _weightsData.Add(value.RealVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value);
                break;
            }
        }
Example #10
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
                base.IfcParse(propIndex, value);
                break;

            case 2:
                _listValues.Add((IfcValue)value.EntityVal);
                break;

            case 3:
                _unit = (IfcUnit)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
                base.IfcParse(propIndex, value);
                break;

            case 2:
                _enumerationValues.Add((IfcValue)value.EntityVal);
                break;

            case 3:
                _enumerationReference = (IfcPropertyEnumeration)value.EntityVal;
                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:
                _relatingSystem = (IfcSystem)value.EntityVal;
                break;

            case 5:
                _relatedBuildings.Add((IfcSpatialStructureElement)value.EntityVal);
                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:
                _definitionType = value.StringVal;
                break;

            case 5:
                _reinforcementSectionDefinitions.Add((IfcSectionReinforcementProperties)value.EntityVal);
                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:
                base.IfcParse(propIndex, value);
                break;

            case 7:
                _relatingPriorities.Add(value.IntegerVal);
                break;

            case 8:
                _relatedPriorities.Add(value.IntegerVal);
                break;

            case 9:
                _relatedConnectionType =
                    (IfcConnectionTypeEnum)Enum.Parse(typeof(IfcConnectionTypeEnum), value.EnumVal, true);
                break;

            case 10:
                _relatingConnectionType =
                    (IfcConnectionTypeEnum)Enum.Parse(typeof(IfcConnectionTypeEnum), value.EnumVal, true);
                break;

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