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

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

            case 8:
                _axis = (IfcDirection)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 2
0
 public IfcStructuralCurveMember(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralCurveMemberTypeEnum predefinedType, IfcDirection axis) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation)
 {
     PredefinedType = predefinedType;
     Axis           = axis;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Construct a IfcStructuralCurveMember with all required attributes.
 /// </summary>
 public IfcStructuralCurveMember(IfcGloballyUniqueId globalId, IfcStructuralCurveMemberTypeEnum predefinedType, IfcDirection axis) : base(globalId)
 {
     PredefinedType = predefinedType;
     Axis           = axis;
 }
Ejemplo n.º 4
0
 public IfcStructuralCurveMember(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralCurveMemberTypeEnum __PredefinedType, IfcDirection __Axis)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation)
 {
     this._PredefinedType = __PredefinedType;
     this._Axis           = __Axis;
 }
 /// <summary>
 /// Construct a IfcStructuralCurveMemberVarying with all required attributes.
 /// </summary>
 public IfcStructuralCurveMemberVarying(IfcGloballyUniqueId globalId, IfcStructuralCurveMemberTypeEnum predefinedType, IfcDirection axis) : base(globalId, predefinedType, axis)
 {
 }