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