Exemplo n.º 1
0
        ///// <summary>
        /////
        ///// </summary>
        ///// <param name="type">one of SemSurfaceTreatmentProperties</param>
        //public BbPaintFinish()
        //{

        //    IfcCovering = new IfcCovering
        //    {
        //        GlobalId = IfcGloballyUniqueId.NewGuid(),
        //        OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory,
        //        //Name = name,
        //        ObjectType = "FINISH",
        //        //Tag = id,
        //        PredefinedType = IfcCoveringTypeEnum.USERDEFINED,
        //        /// set propertySet value with type parameter value
        //    };
        //}



        //public BbPaintFinish(IfcCovering paint, IfcRelCoversBldgElements agg)
        //{
        //    IfcCovering = paint;
        //    IfcRelCoversBldgElements = agg;

        //}

        /// <summary>
        ///
        /// </summary>
        /// <param name="type">BLASTED, GALVANIZED, PAINTED, PRIMED or ETC</param>
        /// <returns></returns>
        public static BbPaintFinish Create(string type)
        {
            var paintFinish = new BbPaintFinish(type);

            BbInstanceDB.AddToExport(paintFinish);

            return(paintFinish);
        }
Exemplo n.º 2
0
        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="type">one of SemSurfaceTreatmentProperties</param>
        //public BbPaintFinish()
        //{
        //    IfcCovering = new IfcCovering
        //    {
        //        GlobalId = IfcGloballyUniqueId.NewGuid(),
        //        OwnerHistory = BbHeaderSetting.Setting3D.IfcOwnerHistory,
        //        //Name = name,
        //        ObjectType = "FINISH",
        //        //Tag = id,
        //        PredefinedType = IfcCoveringTypeEnum.USERDEFINED,
        //        /// set propertySet value with type parameter value
        //    };
        //}
        //public BbPaintFinish(IfcCovering paint, IfcRelCoversBldgElements agg)
        //{
        //    IfcCovering = paint;
        //    IfcRelCoversBldgElements = agg;
        //}
        /// <summary>
        /// 
        /// </summary>
        /// <param name="type">BLASTED, GALVANIZED, PAINTED, PRIMED or ETC</param>
        /// <returns></returns>
        public static BbPaintFinish Create(string type)
        {
            var paintFinish = new BbPaintFinish(type);

            BbInstanceDB.AddToExport(paintFinish);

            return paintFinish;
        }