Python script, API, monitorPoints
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am making a Python script to export results at monitor points in transient analyses in CFD 2016. I would like to create the monitor points in the GUI and give these points meaningful names, and then use the script to export the data to csv-files for multiple runs with parameter variations.
The problem I have run into is that I am not able to access the predefined monitor points unless I enter a list of the names into the script. This works, but I would like the script to be generic so that I can use it in in future models without having to edit the monitor point names in the script.
In the API documentation, the function I would like to use is listed:
void monitorPoints ( MonitorPointList & points)
(Returns a list of all monitor points in the model)
The problem is that I can not find the class definition of MonitorPointList in the API installation folder, it seems to be missing. Hopefully, this is due to my lack of knowledge in Python.
Anybody used this function with success? Please help, thank you🙂