Opened 6 years ago
Closed 6 years ago
#5422 closed defect (fixed)
Fail to connect Modelica.Icons.SignalBus components (expandable connectors)
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: |
Description
The GUI for connecting expandable connectors (extending from Modelica.Icons.SignalBus) fails when linking two connectors from different components.
package BusGUI expandable connector busType extends Modelica.Icons.SignalBus; end busType; model testBus busOwner busOwner1 annotation( Placement(visible = true, transformation(origin = {-60, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); busOwner busOwner2 annotation( Placement(visible = true, transformation(origin = {60, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); equation end testBus; model busOwner busType bus annotation( Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); equation end busOwner; end BusGUI;
when I try to connect the two busType
instances the GUI returns
and it creates the connector
connect(bus, bus);
instead of
connect(busOwner1.bus, busOwner2.bus);
Attachments (1)
Change History (6)
comment:1 by , 6 years ago
Component: | Frontend → Interactive Environment |
---|---|
Milestone: | Future → 1.14.0 |
Owner: | changed from | to
Priority: | high → blocker |
Status: | new → assigned |
comment:2 by , 6 years ago
This has nothing to do with the new API.
I will have a look on how OMEdit is handling this, as OMC does the correct thing here when it gets:
addConnection(bus,bus,BusGUI.testBus,annotate=Line(points={{-60,0},{60,0},{60,0},{60,0}},color={255,204,51},thickness=0.5)) 22:43:35:923
by , 6 years ago
Attachment: | omeditcommunication.log added |
---|
the omedit-omc communication for debugging.
comment:4 by , 6 years ago
Component: | Interactive Environment → OMEdit |
---|---|
Status: | assigned → accepted |
comment:5 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Fixed in 6a4c0f4/OpenModelica.
Note:
See TracTickets
for help on using tickets.
This should be checked with the new API