impure functionconstructor
Construct an external object that can be used to store a Python object
Information
The function constructor is a C function that is called by a Modelica simulator
exactly once during the initialization.
The function returns the object PythonObject that
will be used to store a Python object and pass it from one invocation to another
in the function
Buildings.Utilities.IO.Python_3_12.Functions.BaseClasses.exchange.
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| PythonObject | pytObj |
Revisions
-
September 19, 2025, by Michael Wetter:
Updated to Python 3.12. -
August 27, 2021, by Michael Wetter:
Updated to Python 3.8. -
April 10, 2020, by Jianjun Hu and Michael Wetter:
Updated to Python 3.6. -
March 06, 2020, by Jianjun Hu:
Upgraded python version from 2.7 to 3.6.
This is for issue 1760. -
April 13, 2018, by Michael Wetter:
CorrectedLibraryDirectoryannotation.
This is for issue 1160. -
January 31, 2018, by Michael Wetter and Thierry Nouidui:
First implementation.