コード例 #1
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10:
            case 11:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 12:
                _varyingAppliedLoadLocation = (IfcShapeAspect)(value.EntityVal);
                return;

            case 13:
                _subsequentAppliedLoads.InternalAdd((IfcStructuralLoad)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
コード例 #2
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:
                _OperationType = (IfcPermeableCoveringOperationEnum)Enum.Parse(typeof(IfcPermeableCoveringOperationEnum), value.EnumVal);
                break;

            case 5:
                _PanelPosition = (IfcWindowPanelPositionEnum)Enum.Parse(typeof(IfcWindowPanelPositionEnum), value.EnumVal);
                break;

            case 6:
                _FrameDepth = value.RealVal;
                break;

            case 7:
                _FrameThickness = value.RealVal;
                break;

            case 8:
                _ShapeAspectStyle = (IfcShapeAspect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #3
0
 public IfcRelAssociatesProfileProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcRoot[] __RelatedObjects, IfcProfileProperties __RelatingProfileProperties, IfcShapeAspect __ProfileSectionLocation, IfcOrientationSelect __ProfileOrientation)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __RelatedObjects)
 {
     this._RelatingProfileProperties = __RelatingProfileProperties;
     this._ProfileSectionLocation    = __ProfileSectionLocation;
     this._ProfileOrientation        = __ProfileOrientation;
 }
コード例 #4
0
		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: 
					_panelDepth = value.RealVal;
					return;
				case 5: 
                    _panelOperation = (IfcDoorPanelOperationEnum) System.Enum.Parse(typeof (IfcDoorPanelOperationEnum), value.EnumVal, true);
					return;
				case 6: 
					_panelWidth = value.RealVal;
					return;
				case 7: 
                    _panelPosition = (IfcDoorPanelPositionEnum) System.Enum.Parse(typeof (IfcDoorPanelPositionEnum), value.EnumVal, true);
					return;
				case 8: 
					_shapeAspectStyle = (IfcShapeAspect)(value.EntityVal);
					return;
				default:
					throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
			}
		}
コード例 #5
0
        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:
                _relatingProfileProperties = (IfcProfileProperties)(value.EntityVal);
                return;

            case 6:
                _profileSectionLocation = (IfcShapeAspect)(value.EntityVal);
                return;

            case 7:
                _profileOrientation = (IfcOrientationSelect)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
コード例 #6
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
                base.IfcParse(propIndex, value);
                break;

            case 9:
                _subsequentThickness.Add(value.RealVal);
                break;

            case 10:
                _varyingThicknessLocation = (IfcShapeAspect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #7
0
        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:
                _relatingProfileProperties = (IfcProfileProperties)value.EntityVal;
                break;

            case 6:
                _profileSectionLocation = (IfcShapeAspect)value.EntityVal;
                break;

            case 7:
                _profileOrientation = (IfcOrientationSelect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #8
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10:
            case 11:
                base.IfcParse(propIndex, value);
                break;

            case 12:
                _varyingAppliedLoadLocation = (IfcShapeAspect)value.EntityVal;
                break;

            case 13:
                _subsequentAppliedLoads.Add((IfcStructuralLoad)value.EntityVal);
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #9
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:
                _liningDepth = value.RealVal;
                break;

            case 5:
                _liningThickness = value.RealVal;
                break;

            case 6:
                _thresholdDepth = value.RealVal;
                break;

            case 7:
                _thresholdThickness = value.RealVal;
                break;

            case 8:
                _transomThickness = value.RealVal;
                break;

            case 9:
                _transomOffset = value.RealVal;
                break;

            case 10:
                _liningOffset = value.RealVal;
                break;

            case 11:
                _thresholdOffset = value.RealVal;
                break;

            case 12:
                _casingThickness = value.RealVal;
                break;

            case 13:
                _casingDepth = value.RealVal;
                break;

            case 14:
                _shapeAspectStyle = (IfcShapeAspect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #10
0
        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:
                _liningDepth = value.RealVal;
                return;

            case 5:
                _liningThickness = value.RealVal;
                return;

            case 6:
                _thresholdDepth = value.RealVal;
                return;

            case 7:
                _thresholdThickness = value.RealVal;
                return;

            case 8:
                _transomThickness = value.RealVal;
                return;

            case 9:
                _transomOffset = value.RealVal;
                return;

            case 10:
                _liningOffset = value.RealVal;
                return;

            case 11:
                _thresholdOffset = value.RealVal;
                return;

            case 12:
                _casingThickness = value.RealVal;
                return;

            case 13:
                _casingDepth = value.RealVal;
                return;

            case 14:
                _shapeAspectStyle = (IfcShapeAspect)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
コード例 #11
0
 public IfcPermeableCoveringProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPermeableCoveringOperationEnum __OperationType, IfcWindowPanelPositionEnum __PanelPosition, IfcPositiveLengthMeasure?__FrameDepth, IfcPositiveLengthMeasure?__FrameThickness, IfcShapeAspect __ShapeAspectStyle)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this.OperationType    = __OperationType;
     this.PanelPosition    = __PanelPosition;
     this.FrameDepth       = __FrameDepth;
     this.FrameThickness   = __FrameThickness;
     this.ShapeAspectStyle = __ShapeAspectStyle;
 }
コード例 #12
0
 public IfcDoorPanelProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPositiveLengthMeasure?__PanelDepth, IfcDoorPanelOperationEnum __PanelOperation, IfcNormalisedRatioMeasure?__PanelWidth, IfcDoorPanelPositionEnum __PanelPosition, IfcShapeAspect __ShapeAspectStyle)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._PanelDepth       = __PanelDepth;
     this._PanelOperation   = __PanelOperation;
     this._PanelWidth       = __PanelWidth;
     this._PanelPosition    = __PanelPosition;
     this._ShapeAspectStyle = __ShapeAspectStyle;
 }
コード例 #13
0
 public IfcWindowLiningProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPositiveLengthMeasure?__LiningDepth, IfcPositiveLengthMeasure?__LiningThickness, IfcPositiveLengthMeasure?__TransomThickness, IfcPositiveLengthMeasure?__MullionThickness, IfcNormalisedRatioMeasure?__FirstTransomOffset, IfcNormalisedRatioMeasure?__SecondTransomOffset, IfcNormalisedRatioMeasure?__FirstMullionOffset, IfcNormalisedRatioMeasure?__SecondMullionOffset, IfcShapeAspect __ShapeAspectStyle)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._LiningDepth         = __LiningDepth;
     this._LiningThickness     = __LiningThickness;
     this._TransomThickness    = __TransomThickness;
     this._MullionThickness    = __MullionThickness;
     this._FirstTransomOffset  = __FirstTransomOffset;
     this._SecondTransomOffset = __SecondTransomOffset;
     this._FirstMullionOffset  = __FirstMullionOffset;
     this._SecondMullionOffset = __SecondMullionOffset;
     this._ShapeAspectStyle    = __ShapeAspectStyle;
 }
コード例 #14
0
 public IfcDoorLiningProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPositiveLengthMeasure?__LiningDepth, IfcPositiveLengthMeasure?__LiningThickness, IfcPositiveLengthMeasure?__ThresholdDepth, IfcPositiveLengthMeasure?__ThresholdThickness, IfcPositiveLengthMeasure?__TransomThickness, IfcLengthMeasure?__TransomOffset, IfcLengthMeasure?__LiningOffset, IfcLengthMeasure?__ThresholdOffset, IfcPositiveLengthMeasure?__CasingThickness, IfcPositiveLengthMeasure?__CasingDepth, IfcShapeAspect __ShapeAspectStyle)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._LiningDepth        = __LiningDepth;
     this._LiningThickness    = __LiningThickness;
     this._ThresholdDepth     = __ThresholdDepth;
     this._ThresholdThickness = __ThresholdThickness;
     this._TransomThickness   = __TransomThickness;
     this._TransomOffset      = __TransomOffset;
     this._LiningOffset       = __LiningOffset;
     this._ThresholdOffset    = __ThresholdOffset;
     this._CasingThickness    = __CasingThickness;
     this._CasingDepth        = __CasingDepth;
     this._ShapeAspectStyle   = __ShapeAspectStyle;
 }
コード例 #15
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:
                _panelDepth = value.RealVal;
                break;

            case 5:
                _panelOperation =
                    (IfcDoorPanelOperationEnum)Enum.Parse(typeof(IfcDoorPanelOperationEnum), value.EnumVal, true);
                break;

            case 6:
                _panelWidth = value.RealVal;
                break;

            case 7:
                _panelPosition =
                    (IfcDoorPanelPositionEnum)Enum.Parse(typeof(IfcDoorPanelPositionEnum), value.EnumVal, true);
                break;

            case 8:
                _shapeAspectStyle = (IfcShapeAspect)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
コード例 #16
0
 public IfcStructuralSurfaceMemberVarying(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralSurfaceTypeEnum __PredefinedType, IfcPositiveLengthMeasure?__Thickness, IfcPositiveLengthMeasure[] __SubsequentThickness, IfcShapeAspect __VaryingThicknessLocation)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __PredefinedType, __Thickness)
 {
     this._SubsequentThickness      = new List <IfcPositiveLengthMeasure>(__SubsequentThickness);
     this._VaryingThicknessLocation = __VaryingThicknessLocation;
 }
コード例 #17
0
 public static IfcShapeModel GetShapeModel(this IfcShapeAspect aspect, string identifier)
 {
     return(aspect.ShapeRepresentations.Lookup(identifier));
 }
コード例 #18
0
 public IfcStructuralPlanarActionVarying(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, Boolean __DestabilizingLoad, IfcStructuralReaction __CausedBy, IfcProjectedOrTrueLengthEnum __ProjectedOrTrue, IfcShapeAspect __VaryingAppliedLoadLocation, IfcStructuralLoad[] __SubsequentAppliedLoads)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal, __DestabilizingLoad, __CausedBy, __ProjectedOrTrue)
 {
     this._VaryingAppliedLoadLocation = __VaryingAppliedLoadLocation;
     this._SubsequentAppliedLoads     = new List <IfcStructuralLoad>(__SubsequentAppliedLoads);
 }