Exemple #1
0
        public override string WhereRule()
        {
            string baseErr = base.WhereRule();

            if (IsDecomposedBy.Count() > 0 && Representation != null)
            {
                baseErr +=
                    "WR1 Stair: Either the stair is not decomposed into its flights and landings (the stair can have independent geometry), or the geometry shall not be given at Stair directly.\n";
            }
            return(baseErr);
        }
Exemple #2
0
        public override string WhereRule()
        {
            string baseErr = base.WhereRule();

            if (IsDecomposedBy.Count() == 0 || (IsDecomposedBy.Count() == 1 && Representation == null))
            {
                return(baseErr);
            }
            else
            {
                return
                    (baseErr +=
                         "WR1 Roof: Either the roof is not decomposed into its roof slabs (the roof can have independent geometry), or the geometry shall not be given at IfcRoof directly.\n");
            }
        }