2.1.7.3. Look-Up Table with a Python Script

The set-up of a 1D Look-Up Table with a script:

table = db.active_model.create_lookup_table1d(name='LookUpTable1D.1')
table.origin=(0.0, 0.0, 0.0)
table.direction=(1.0, 0.0, 0.0)
table.create_column(name='Value', type='scalar')
table.dimensions=['length', 'dimensionless']
table.columns['Location'].values = [0., 1., 2., 3.]
table.columns['Value'].values = [0., 1., 2., 3.]