etabs_api is a package written with python to communicates with CSI ETABS (2018 and above versions) and CSI SAFE Softwares.
Stable Release:
pip install etabs-api
For getting the latest version:
pip install git+https://github.com/ebrahimraeyat/etabs_api.git
import find_etabs
etabs, filename = find_etabs.find_etabs(run=False, backup=False)
if (
etabs is None or
filename is None
):
print('Error Occurred')
else:
etabs.lock_and_unlock_model()
ex, exn, exp, ey, eyn, eyp = etabs.load_patterns.get_seismic_load_patterns()
# Read Tables
table_key = 'Load Combination Definitions'
df = etabs.database.read(table_key, to_dataframe=True)
# write Tables
etabs.database.write(table_key=table_key, data=df)