Exemple #1
0
        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:
                if (_representationMaps == null)
                {
                    _representationMaps = new RepresentationMapList(this);
                }
                _representationMaps.Add((IfcRepresentationMap)value.EntityVal);
                break;

            case 7:
                _tag = 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:
             base.IfcParse(propIndex, value);
             break;
         case 6:
             if (_representationMaps == null)
                 _representationMaps = new RepresentationMapList(this);
             _representationMaps.Add((IfcRepresentationMap) value.EntityVal);
             break;
         case 7:
             _tag = value.StringVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }