Lookup a layer value

Lookup a layer value
1# This script shows how to use LookupValueFromProjectOrLayerKey to find the value in ONE_UP.boardgrd that corresponds to a specific layer key.
2
3ot = impact.gui.output_toolbox
4ot.clear()
5
6impact.active_database.lookup_value_from_project_or_layer_key("ONE_UP", "BOARDGRD", 49820695, value)
7
8ot.add(value)