Opened 7 years ago

Closed 7 years ago

#4701 closed defect (duplicate)

Parameter Entry GUI Scripting Error

Reported by: zbigniew.wolanski@… Owned by: Adeel Asghar
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.

Change History (2)

by zbigniew.wolanski@…, 7 years ago

Attachment: MagTest.mo added

comment:1 by Adeel Asghar, 7 years ago

Milestone: Future1.13.0
Resolution: duplicate
Status: newclosed

See #4651.

Note: See TracTickets for help on using tickets.