Opened 8 years ago
Last modified 4 years ago
#4414 new defect
Protected (expandable) connectors within a component model are not suppressed in icon view of component when placed in other models
| Reported by: | anonymous | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | OMEdit | Version: | v1.11.0 |
| Keywords: | expandable connector icon protected | Cc: |
Description
- Make a component with an expandable connector and appropriate icon (like Modelica.Icons.SignalBus)
- Make that expandable connector protected in the component
- View the icon layer of the component--you will see no connector icon
- Place that component in another diagram--the protected connectors are displayed and are available to make connections.
Change History (8)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Same thing appears to happen with normal connectors--not only expandable connectors--as well (like electrical pins).
comment:3 by , 8 years ago
| Milestone: | 1.12.0 → 1.13.0 |
|---|
comment:5 by , 6 years ago
| Milestone: | 1.14.0 → 1.16.0 |
|---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:7 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 |
|---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
Note:
See TracTickets
for help on using tickets.

This code works to recreate the issue
model TopLevel // make a part model Component Modelica.Icons.SignalBus PublicConn annotation( Placement(visible = true, transformation(origin = {0, 60}, extent = {{-20, -20}, {20, 20}}, rotation = 0), iconTransformation(origin = {0, 60}, extent = {{-20, -20}, {20, 20}}, rotation = 0))); protected Modelica.Icons.SignalBus ProtectedConn annotation( Placement(visible = true, transformation(origin = {0, 0}, extent = {{-20, -20}, {20, 20}}, rotation = 0), iconTransformation(origin = {1, 0}, extent = {{-20, -20}, {20, 20}}, rotation = 0))); annotation( Icon(coordinateSystem(grid = {1, 1}))); end Component; TopLevel.Component component annotation( Placement(visible = true, transformation(origin = {0, 2}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); annotation( Icon(coordinateSystem(grid = {1, 1})), uses(Modelica(version = "3.2.2"))); end TopLevel;