# Reference to cdb-file in Teddy

Hi,
I have run multiple analyses in ASE in Teddy, and I would now like to produce multiple plots of internal forces in Wingraf (in Teddy) based the previous database files. Does anyone know how to refer to an existing cdb-file in Teddy? Should the reference to the cdb-file appear inside or outside the Wingraf module?

Hello,

You can address a database with the input DB in PROG WING, for example

DB NO 1 TITL 'C:\path\to\database1.cdb'
QUAD MY RESULTS FROM DB 1
DB NO 2 TITL 'C:\path\to\database2.cdb'
QUAD MY RESULTS FROM DB 2


See the manual “wingraf_1.pdf” in your installation folder.

I have tried a simple test but it still does not work?

+PROG WING urs:61

DB NO 1 TITL C:\Users\JAGP\Desktop\Test\database1.cdb

end

Hello,

You have to quote the argument of TITL. Try

DB NO 1 TITL 'C:\Users\JAGP\Desktop\Test\database1.cdb'


and see if it works.

It still does not work. I get the same errors.

I just noticed that the correct parameter is not NO as stated in the manual, but NUMB.

So try

DB NUMB 1 TITL 'C:\Users\JAGP\Desktop\Test\database1.cdb'


If the teddy file is in the same folder as the cdb you don’t need the entire path, e.g.:

DB Numb 1 Titl 'database1.cdb'

Thank you very much. It works now