public IfcBoundaryFaceCondition(IfcLabel?__Name, IfcModulusOfSubgradeReactionSelect __TranslationalStiffnessByAreaX, IfcModulusOfSubgradeReactionSelect __TranslationalStiffnessByAreaY, IfcModulusOfSubgradeReactionSelect __TranslationalStiffnessByAreaZ) : base(__Name) { this._TranslationalStiffnessByAreaX = __TranslationalStiffnessByAreaX; this._TranslationalStiffnessByAreaY = __TranslationalStiffnessByAreaY; this._TranslationalStiffnessByAreaZ = __TranslationalStiffnessByAreaZ; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: base.Parse(propIndex, value, nestedIndex); return; case 1: _translationalStiffnessByAreaX = (IfcModulusOfSubgradeReactionSelect)(value.EntityVal); return; case 2: _translationalStiffnessByAreaY = (IfcModulusOfSubgradeReactionSelect)(value.EntityVal); return; case 3: _translationalStiffnessByAreaZ = (IfcModulusOfSubgradeReactionSelect)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }