Esempio n. 1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 4:
                _relatingStructuralMember = (IfcStructuralMember)(value.EntityVal);
                return;

            case 5:
                _relatedStructuralConnection = (IfcStructuralConnection)(value.EntityVal);
                return;

            case 6:
                _appliedCondition = (IfcBoundaryCondition)(value.EntityVal);
                return;

            case 7:
                _additionalConditions = (IfcStructuralConnectionCondition)(value.EntityVal);
                return;

            case 8:
                _supportedLength = value.RealVal;
                return;

            case 9:
                _conditionCoordinateSystem = (IfcAxis2Placement3D)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        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:
                _relatingStructuralMember = (IfcStructuralMember)value.EntityVal;
                break;

            case 5:
                _relatedStructuralConnection = (IfcStructuralConnection)value.EntityVal;
                break;

            case 6:
                _appliedCondition = (IfcBoundaryCondition)value.EntityVal;
                break;

            case 7:
                _additionalConditions = (IfcStructuralConnectionCondition)value.EntityVal;
                break;

            case 8:
                _supportedLength = value.RealVal;
                break;

            case 9:
                _conditionCoordinateSystem = (IfcAxis2Placement3D)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 4:
                _relatingElement = (IfcElement)(value.EntityVal);
                return;

            case 5:
                _relatedStructuralMember = (IfcStructuralMember)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        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:
                _relatingElement = (IfcElement)value.EntityVal;
                break;

            case 5:
                _relatedStructuralMember = (IfcStructuralMember)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:
             _relatingElement = (IfcElement) value.EntityVal;
             break;
         case 5:
             _relatedStructuralMember = (IfcStructuralMember) 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:
             _relatingStructuralMember = (IfcStructuralMember) value.EntityVal;
             break;
         case 5:
             _relatedStructuralConnection = (IfcStructuralConnection) value.EntityVal;
             break;
         case 6:
             _appliedCondition = (IfcBoundaryCondition) value.EntityVal;
             break;
         case 7:
             _additionalConditions = (IfcStructuralConnectionCondition) value.EntityVal;
             break;
         case 8:
             _supportedLength = value.RealVal;
             break;
         case 9:
             _conditionCoordinateSystem = (IfcAxis2Placement3D) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }