Python find kwls


I’m trying to get all available loadcases (kwl) from the cdb via python.

It is due to the detailed manual on the website no problem to get information from the cdb via the py_sof_cdb_get() method if the kwl is known but I have no idea how to find out all kwls that are available.

Thanks for your help!

Hello Christian

You will get further information about the possible CDB functions within the CDBASE-Help.

TEDDY > Help > CDBASE-Help > Interface > …

In your case you should have a look at the method “sof_cdb_kenq(KWH,KWL,Request)”.
Perhaps this function combined with a loop helps you to extract the available information from the database.

Best regards
Frederik Höller
Your SOFiSTiK Support Team