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:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 10:
                _projectedOrTrue = (IfcProjectedOrTrueLengthEnum)System.Enum.Parse(typeof(IfcProjectedOrTrueLengthEnum), value.EnumVal, true);
                return;

            case 11:
                _predefinedType = (IfcStructuralCurveActivityTypeEnum)System.Enum.Parse(typeof(IfcStructuralCurveActivityTypeEnum), value.EnumVal, true);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Example #2
0
 public IfcStructuralLinearAction(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, IfcBoolean?__DestabilizingLoad, IfcProjectedOrTrueLengthEnum?__ProjectedOrTrue, IfcStructuralCurveActivityTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal, __DestabilizingLoad, __ProjectedOrTrue, __PredefinedType)
 {
 }
Example #3
0
 public IfcStructuralCurveReaction(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, IfcStructuralCurveActivityTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal)
 {
     this._PredefinedType = __PredefinedType;
 }
Example #4
0
 public IfcStructuralCurveAction(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcBoolean destabilizingLoad, IfcProjectedOrTrueLengthEnum projectedOrTrue, IfcStructuralCurveActivityTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, appliedLoad, globalOrLocal, destabilizingLoad)
 {
     ProjectedOrTrue = projectedOrTrue;
     PredefinedType  = predefinedType;
 }
Example #5
0
 /// <summary>
 /// Construct a IfcStructuralCurveAction with all required attributes.
 /// </summary>
 public IfcStructuralCurveAction(IfcGloballyUniqueId globalId, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcStructuralCurveActivityTypeEnum predefinedType) : base(globalId, appliedLoad, globalOrLocal)
 {
     PredefinedType = predefinedType;
 }
Example #6
0
		internal IfcStructuralCurveReaction(IfcStructuralCurveReaction p) : base(p) { mPredefinedType = p.mPredefinedType; }
Example #7
0
		internal IfcStructuralCurveAction(IfcStructuralLoadCase lc, IfcStructuralActivityAssignmentSelect item, IfcStructuralLoad load, bool global, bool projected, IfcStructuralCurveActivityTypeEnum type)
			: base(lc, item, load, global) { mProjectedOrTrue = projected ? IfcProjectedOrTrueLengthEnum.PROJECTED_LENGTH : IfcProjectedOrTrueLengthEnum.TRUE_LENGTH; mPredefinedType = type; }
Example #8
0
		internal IfcStructuralCurveAction(IfcStructuralCurveAction p) : base(p) { mProjectedOrTrue = p.mProjectedOrTrue; mPredefinedType = p.mPredefinedType; }