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 = (IfcStructuralSurfaceActivityTypeEnum)System.Enum.Parse(typeof(IfcStructuralSurfaceActivityTypeEnum), value.EnumVal, true); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcStructuralPlanarAction(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcBoolean destabilizingLoad, IfcProjectedOrTrueLengthEnum projectedOrTrue, IfcStructuralSurfaceActivityTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, appliedLoad, globalOrLocal, destabilizingLoad, projectedOrTrue, predefinedType) { }
/// <summary> /// Construct a IfcStructuralPlanarAction with all required attributes. /// </summary> public IfcStructuralPlanarAction(IfcGloballyUniqueId globalId, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcStructuralSurfaceActivityTypeEnum predefinedType) : base(globalId, appliedLoad, globalOrLocal, predefinedType) { }
public IfcStructuralSurfaceReaction(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, IfcStructuralSurfaceActivityTypeEnum __PredefinedType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal) { this._PredefinedType = __PredefinedType; }
public IfcStructuralSurfaceReaction(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcStructuralSurfaceActivityTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, appliedLoad, globalOrLocal) { PredefinedType = predefinedType; }
public IfcStructuralSurfaceAction(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, IfcBoolean?__DestabilizingLoad, IfcProjectedOrTrueLengthEnum?__ProjectedOrTrue, IfcStructuralSurfaceActivityTypeEnum __PredefinedType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal, __DestabilizingLoad) { this.ProjectedOrTrue = __ProjectedOrTrue; this.PredefinedType = __PredefinedType; }
internal IfcStructuralSurfaceAction(IfcStructuralLoadCase lc, IfcStructuralActivityAssignmentSelect item, IfcStructuralLoad load, bool global, bool projected, IfcStructuralSurfaceActivityTypeEnum type) : base(lc, item, load, global) { if (mDatabase.mSchema == Schema.IFC2x3) throw new Exception(mKW + " in IFC4 Only"); mProjectedOrTrue = projected ? IfcProjectedOrTrueLengthEnum.PROJECTED_LENGTH : IfcProjectedOrTrueLengthEnum.TRUE_LENGTH; mPredefinedType = type; }
internal IfcStructuralSurfaceAction(IfcStructuralSurfaceAction p) : base(p) { mProjectedOrTrue = p.mProjectedOrTrue; mPredefinedType = p.mPredefinedType; }