Beispiel #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _tilingPattern = (IfcOneDirectionRepeatFactor)(value.EntityVal);
                return;

            case 1:
                _tiles.InternalAdd((IfcFillAreaStyleTileShapeSelect)value.EntityVal);
                return;

            case 2:
                _tilingScale = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Beispiel #2
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _TilingPattern = (IfcOneDirectionRepeatFactor)value.EntityVal;
                break;

            case 1:
                _Tiles.Add((IfcFillAreaStyleTileShapeSelect)value.EntityVal);
                break;

            case 2:
                _TilingScale = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _TilingPattern = (IfcOneDirectionRepeatFactor)value.EntityVal;
             break;
         case 1:
             _Tiles.Add((IfcFillAreaStyleTileShapeSelect)value.EntityVal);
             break;
         case 2:
             _TilingScale = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }