In our ninth Python in the VE article, we focus on working with constructions.
We use GET and SET methods to access VE construction data. To use them you need to navigate the API hierarchy. The GET methods typically return data in DICT form, often nested, which we need to be able to access. Using DICTs is also a good way of organising data that we GET from the VE.
In this example we navigate VECdb, VECdbConstruction, VECdbLayer and VECdbMaterial and get construction data via methods from these APIs. We use a DICT to organise the data we extract because DICT keys make sure we store what the values mean and give us an elegant way to access specific data. We also utilise DICTs to specify changes we make using SET methods.
Check out the full guide here
You can download sample room data and construction data here: www.iesve.com/support/faq/zip/working-with-constructions.zip
You can view other articles in my VE Python series HERE.