示例#1
0
 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:
             _RasterFormat = value.StringVal;
             break;
         case 5:
             _RasterCode = value.BooleanVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _baseSurface = (IfcSurface) value.EntityVal;
             break;
         case 1:
             _agreementFlag = value.BooleanVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _repeatS = value.BooleanVal;
             break;
         case 1:
             _repeatT = value.BooleanVal;
             break;
         case 2:
             _textureType =
                 (IfcSurfaceTextureEnum) Enum.Parse(typeof (IfcSurfaceTextureEnum), value.EnumVal, true);
             break;
         case 3:
             _textureTransform = (IfcCartesianTransformationOperator2D) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
示例#4
0
        public void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                    ((IXbimNoNotifyCollection)_rowCells).Add((IfcValue) value.EntityVal);
                    break;
                case 1:
                    _isHeading = value.BooleanVal;
                    break;
                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }

            #endregion
        }
示例#5
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _bound = (IfcLoop) value.EntityVal;
             break;
         case 1:
             _orientation = value.BooleanVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
示例#6
0
        public void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                    _rowCells.Add_Reversible((IfcValue) value.EntityVal);
                    break;
                case 1:
                    _isHeading = value.BooleanVal;
                    break;
                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }

            #endregion
        }
 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:
             _theoryType =
                 (IfcAnalysisTheoryTypeEnum)
                 Enum.Parse(typeof (IfcAnalysisTheoryTypeEnum), value.EnumVal, true);
             break;
         case 6:
             _resultForLoadGroup = (IfcStructuralLoadGroup) value.EntityVal;
             break;
         case 7:
             _isLinear = value.BooleanVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _basisSurface = (IfcSurface) value.EntityVal;
             break;
         case 1:
             _u1 = value.RealVal;
             break;
         case 2:
             _v1 = value.RealVal;
             break;
         case 3:
             _u2 = value.RealVal;
             break;
         case 4:
             _v2 = value.RealVal;
             break;
         case 5:
             _uSense = value.BooleanVal;
             break;
         case 6:
             _vSense = value.BooleanVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }