Skip to content

Add setString to procedural API - #1587

Open
AxelMatstoms wants to merge 1 commit into
OpenModelica:maintenance/v2.1from
AxelMatstoms:set-string-procedural
Open

Add setString to procedural API#1587
AxelMatstoms wants to merge 1 commit into
OpenModelica:maintenance/v2.1from
AxelMatstoms:set-string-procedural

Conversation

@AxelMatstoms

Copy link
Copy Markdown
Contributor

Related Issues

setString is missing from the procedural Python API.

Purpose

To enable setting string parameters using the procedural API, add the missing setString method to the procedural API. The method was already implemented in the object oriented API and implemented in the capi wrapper.

Approach

+    self.setString = Scope._capi.setString

@AnHeuermann
AnHeuermann requested a review from arun3688 July 27, 2026 15:46
@AnHeuermann

Copy link
Copy Markdown
Member

This PR is targeting the maintenance branch OpenModelica:maintenance/v2.1 instead of master. Seems to be intended, since the old API was removed in 3420839.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants