January 9th 2023

Python in the VE: VE Scripts - Working With MacroFlo and Model Openings

Python in the VE: VE Scripts - Working With MacroFlo and Model Openings

In this article from our VE-Python series we look at working with MarcoFlo and model openings. 

What?
We use GET and SET methods with MacroFlo opening types. We also use GET and SET methods with model openings data. The GET & SET methods typically use data in DICT form. Using DICTs is also a good way of organising data that we GET from the VE. In this example we use a DICT to match selections and revise data when we iterate to assess the impact of changing MacroFlo opening extent on maximum room temperate.

Why?
In this example we navigate VEMacroFlo and VEBody 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

View sample MacroFlo data here: www.iesve.com/support/faq/zip/macroflo-data.zip

You can view other articles in my VE Python series HERE.