- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » setComponentProperties in OMC-API docs
setComponentProperties in OMC-API docs
Re: setComponentProperties in OMC-API docs
As far as I can tell, this is the signature used by Interactive.mo (only has 6 arguments):
Absyn.CREF(componentRef = class_)
Absyn.CREF(componentRef = comp_ref)
Absyn.ARRAY(arrayExp = {Absyn.BOOL(value = finalPrefix), Absyn.BOOL(value = flowPrefix), Absyn.BOOL(value = streamPrefix), Absyn.BOOL(value = protected_), Absyn.BOOL(value = repl)})
Absyn.ARRAY(arrayExp = {Absyn.STRING(value = variability)})
Absyn.ARRAY(arrayExp = {Absyn.BOOL(value = dref1),Absyn.BOOL(value = dref2)})
Absyn.ARRAY(arrayExp = {Absyn.STRING(value = causality)})
- sjoelund.se
- 1700 Posts
Re: setComponentProperties in OMC-API docs
The OMC-API document is a bit old. Have a look into the .mos files here:
https://openmodelica.ida.liu.se/svn/Ope … nteractive
user: anonymous
pass: none <-- write none here
They contain tests fro the Interactive OMC API.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » setComponentProperties in OMC-API docs