Esempio n. 1
0
 public static SemTypeProduct Create(string name, string pieceMark, Type type)
 {
     var piece = new SemTypeProduct(name, pieceMark, type);
     if (piece.IfcRelDefinesByType == null) return null;
     SemInstanceDB.AddToExport(piece);
     return piece;
 }
Esempio n. 2
0
        public static SemTypeProduct Create(string name, string pieceMark, Type type)
        {
            var piece = new SemTypeProduct(name, pieceMark, type);

            if (piece.IfcRelDefinesByType == null)
            {
                return(null);
            }
            SemInstanceDB.AddToExport(piece);
            return(piece);
        }