Exemplo 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;
 }
Exemplo 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);
        }