public void AddPropertySet(IfcPropertySetDefinition pSetDefinition) { if (this.HasPropertySets == null) { this.HasPropertySets = new PropertySetDefinitionSet(this); } this.HasPropertySets.Add(pSetDefinition); }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: base.Parse(propIndex, value, nestedIndex); return; case 5: _relatingPropertyDefinition = (IfcPropertySetDefinition)(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: case 4: base.IfcParse(propIndex, value); break; case 5: _relatingPropertyDefinition = value.EntityVal as IfcPropertySetDefinition; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public void AddPropertySet(IfcPropertySetDefinition pSetDefinition) { HasPropertySets.Add(pSetDefinition); }