public IfcMaterialLayer(IfcMaterial __Material, IfcNonNegativeLengthMeasure __LayerThickness, IfcLogical?__IsVentilated, IfcLabel?__Name, IfcText?__Description, IfcLabel?__Category, IfcInteger?__Priority) { this.Material = __Material; this.LayerThickness = __LayerThickness; this.IsVentilated = __IsVentilated; this.Name = __Name; this.Description = __Description; this.Category = __Category; this.Priority = __Priority; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _material = (IfcMaterial)(value.EntityVal); return; case 1: _layerThickness = value.RealVal; return; case 2: _isVentilated = value.BooleanVal; return; case 3: _name = value.StringVal; return; case 4: _description = value.StringVal; return; case 5: _category = value.StringVal; return; case 6: _priority = value.IntegerVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcMaterialLayerWithOffsets(IfcMaterial __Material, IfcNonNegativeLengthMeasure __LayerThickness, IfcLogical?__IsVentilated, IfcLabel?__Name, IfcText?__Description, IfcLabel?__Category, IfcInteger?__Priority, IfcLayerSetDirectionEnum __OffsetDirection, IfcLengthMeasure[] __OffsetValues) : base(__Material, __LayerThickness, __IsVentilated, __Name, __Description, __Category, __Priority) { this.OffsetDirection = __OffsetDirection; this.OffsetValues = __OffsetValues; }