Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#3225 closed defect (fixed)

annotation(defaultComponentName = "...") works only once

Reported by: Christian Kral <dr.christian.kral@…> Owned by: somebody
Priority: high Milestone: 1.9.4
Component: *unknown* Version: trunk
Keywords: Cc:

Description

Create a new model and drag in a component which has a default component name specified by annotation(defaultComponentName = "..."). For example use Modelica.Electrical.Machines.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage. In this case the dault name is "aimc".

The first instance is named "aimc" (as expected)
The second instance is named "aim_squirrelcage1" (wrong)
The third instance is named "aim_squirrelcage2" (wrong)

Change History (3)

comment:1 by Per Östlund, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in r25107.

comment:2 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:3 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.