SysML, SysML 2.0, UAF, UML, and UPDM Profiles > SysML profile > Blocks > Ports, flow specifications and interface blocks > Flow port > Deleting a block property, flow port, full port or proxy port (SysML)
Deleting a block property, flow port, full port or proxy port (SysML)
When you right-click a Block Property, Flow Port, Full Port, or Proxy Port (Block Property or port) on an Internal Block Diagram, there can be up to three delete commands available: Delete, Delete Redefinition from Model, and Delete Top Level Definition from Model:
The Delete command deletes the Block Property or port symbol from the diagram.
The Delete Redefinition from Model command behaves differently depending on whether the Block Property or port is contained by a Block, or a Block Property or port:
For a Block Property or port contained Block Property or port that is a virtual redefinition, the Delete Redefinition from Model command is not available.
For a Block Property or port contained Block Property or port that is a real redefinition, the Delete Redefinition from Model command deletes that redefinition and any redefinitions of that redefinition. The Block Property or port from which the redefinition was redefined is not deleted.
Note that when you delete a real redefinition of a Block Property or port on an Internal Block Diagram, the Block Property or port becomes a virtual redefinition and can remain on the Internal Block Diagram.
The Delete Top Level Definition from Model command deletes the top-level Block Property or port and all its redefinitions from the Model. This command can be used from any redefinition of the top-level Block Property or port.
Note that when you create a Block Property or port on a Block Property, that Block Property or port is created on the Block that types the containing Block Property.
To delete a block property or port symbol from a diagram:
On an Internal Block Diagram, right-click the Block Property or port, and then click Delete.
To delete a real redefinition of a block property or port:
* 
If you delete a real redefinition of a Block Property or port, any redefinitions of that real redefinition will be deleted from the model.
1. On an Internal Block Diagram, right-click the Block Property or port.
If the Delete Redefinition from Model command is available, the Block Property or port is a real redefinition.
2. Click Delete Redefinition From Model
3. From the confirmation dialog, click Yes.
Alternatively,
1. In an appropriate pane, right-click the Block Property or port.
If the Rename command is unavailable and the Delete command is available, the Block Property or port is a real redefinition.
Note that real redefinitions are not shown in the Packages pane.
2. Click Delete.
3. From the confirmation dialog, click Yes.
To delete a block property or port (including all its redefinitions) from the model:
1. On an Internal Block Diagram, right-click the Block Property or port, and then click Delete Top Level Definition From Model.
2. From the confirmation dialog, click Yes.
Alternatively,
1. In the Packages pane, locate the Block Property or port.
Note that the Packages pane does not show redefinitions, so you can only select the top-level Block Property or port scoped to the owning Block.
2. Right-click the Block Property or port, and then click Delete.
3. From the confirmation dialog, click Yes.
Was this helpful?