We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the set methods documented in https://openmodelica.github.io/OMJulia.jl/dev/modelicaSystem/#Set-Methods
Two setting possibilities are accepted using setXXXs(),where "XXX" can be any of above functions. setXXX("Name=value") string of keyword assignments setXXX(["Name1=value1","Name2=value2","Name3=value3"]) array of string of keyword assignments
Two setting possibilities are accepted using setXXXs(),where "XXX" can be any of above functions.
having tuples of names and values as string or array of strings is a bit strange.
I suggest to add higher level methods for the set methods with dictionaries instead of a list of strings
parameters = Dict("x"=>1, "y"=>7.0, "z"=>"hello") setParameters(omc, parameters) function setParameters(omc, parameters::Dict{Any}, verbose::Bool = true) name = ["$(p[1])=$(p[2])" for p in collect(parameters)] setParameters(omc, name, verbose) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For the set methods documented in https://openmodelica.github.io/OMJulia.jl/dev/modelicaSystem/#Set-Methods
having tuples of names and values as string or array of strings is a bit strange.
I suggest to add higher level methods for the set methods with dictionaries instead of a list of strings
The text was updated successfully, but these errors were encountered: