Opened 7 years ago

Closed 7 years ago

#4701 closed defect (duplicate)

Parameter Entry GUI Scripting Error

Reported by: zbigniew.wolanski@… Owned by: adeas31
Priority: high Milestone: 1.13.0
Component: OMEdit Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

The "material" parameter of Generic FluxTube from Modelica.Magnetic.FixedShape is by default set to Material.SoftMagnetic.BaseData().
To implement custom material this entry can be changed to point to the custom record (e.g. "ExCore"). The GUI accepts the change.
However, going back to the parameter GUI and changing any other parameter (geometry data for example) generates the scripting error:
"Unable to set the component modifier value using command setComponentModifierValue(MagTest.Core, generic.material, $Code(= = ExCore))"
and resets the material entry back to its default. The material entry has to be repeated and is finally accepted.
The same can be done using the textual entry only (no GUI) and it works without a problem.

Attachments (1)

MagTest.mo (629 bytes) - added by zbigniew.wolanski@… 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by zbigniew.wolanski@…

comment:1 Changed 7 years ago by adeas31

  • Milestone changed from Future to 1.13.0
  • Resolution set to duplicate
  • Status changed from new to closed

See #4651.

Note: See TracTickets for help on using tickets.