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:
                _dailyInteraction = value.NumberVal;
                return;

            case 5:
                _importanceRating = value.RealVal;
                return;

            case 6:
                _locationOfInteraction = (IfcSpatialStructureElement)(value.EntityVal);
                return;

            case 7:
                _relatedSpaceProgram = (IfcSpaceProgram)(value.EntityVal);
                return;

            case 8:
                _relatingSpaceProgram = (IfcSpaceProgram)(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:
                _DailyInteraction = value.NumberVal;
                break;

            case 5:
                _ImportanceRating = value.RealVal;
                break;

            case 6:
                _LocationOfInteraction = (IfcSpatialStructureElement)value.EntityVal;
                break;

            case 7:
                _RelatedSpaceProgram = (IfcSpaceProgram)value.EntityVal;
                break;

            case 8:
                _RelatingSpaceProgram = (IfcSpaceProgram)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:
             _DailyInteraction = value.NumberVal;
             break;
         case 5:
             _ImportanceRating = value.RealVal;
             break;
         case 6:
             _LocationOfInteraction = (IfcSpatialStructureElement)value.EntityVal;
             break;
         case 7:
             _RelatedSpaceProgram = (IfcSpaceProgram)value.EntityVal;
             break;
         case 8:
             _RelatingSpaceProgram = (IfcSpaceProgram)value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }