Пример #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:
                _applicableOccurrence = value.StringVal;
                break;

            case 5:
                if (_hasPropertySets == null)
                {
                    _hasPropertySets = new PropertySetDefinitionSet(this);
                }
                _hasPropertySets.Add((IfcPropertySetDefinition)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Пример #2
0
 public void CreateHasPropertySets()
 {
     if (_hasPropertySets == null)
     {
         _hasPropertySets = new PropertySetDefinitionSet(this);
     }
 }