Book a Demo

Author Topic: Updating Component Instances  (Read 4142 times)

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Updating Component Instances
« on: January 29, 2014, 03:33:53 am »
I have a model with some components that I have created instances of with for instance, a couple of ports. When I instantiated the component, I got the option to include the ports.

Now, a bit later I decided to add an extra port to the component, and the question is, how do I get the new port onto the instantiated components without deleting them and re-instantiating?
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Updating Component Instances
« Reply #1 on: January 29, 2014, 04:08:15 am »
In component instances, ports are created automatically when you create one in the classifier component - check the project browser, it's there. In properties (which are also a kind of instance of a component), on the other hand, they are not.

In either case, in order to see the new ports in a diagram which holds a pre-existing component instance or property, you need to right-click it in the diagram, select Structural Elements (make sure you've switched on Show Owned/Inherited) and then fix the layout. This has to be done for each diagram that shows the instance/property.

With component instances, where the port is automatically created, you can also drag the new port from the project browser and drop it onto the instance in the diagram.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.