Example #1
0
 public IfcBridgePrismaticElement(IfcProduct host, IfcObjectPlacement p, IfcProductRepresentation r, IfcBridgePrismaticElementType type) : base(host, p, r)
 {
     if (mDatabase.mRelease == ReleaseVersion.IFC2x3 || mDatabase.mRelease == ReleaseVersion.IFC4 || mDatabase.mRelease == ReleaseVersion.IFC4A1)
     {
         throw new Exception(KeyWord + " only supported in IFC5!");
     }
     mPredefinedType = type;
 }
Example #2
0
 internal IfcBridgePrismaticElement(IfcBridgePrismaticElement s)
     : base(s)
 {
     mPredefinedType = s.mPredefinedType;
 }
Example #3
0
        internal IfcBridgePrismaticElementType mPredefinedType = IfcBridgePrismaticElementType.AUGET; // : OPTIONAL IfcBridgeSegmentType;

        #endregion Fields

        #region Constructors

        public IfcBridgePrismaticElement(IfcProduct host, IfcObjectPlacement p, IfcProductRepresentation r, IfcBridgePrismaticElementType type)
            : base(host, p, r)
        {
            if (mDatabase.mRelease == ReleaseVersion.IFC2x3 || mDatabase.mRelease == ReleaseVersion.IFC4 || mDatabase.mRelease == ReleaseVersion.IFC4A1)
                throw new Exception(KeyWord + " only supported in IFC5!");
            mPredefinedType = type;
        }
Example #4
0
 internal IfcBridgePrismaticElement(IfcBridgePrismaticElement s) : base(s)
 {
     mPredefinedType = s.mPredefinedType;
 }