|When replacing components in a
diagram, certain conditions for, and consequences of, replacement must be
taken into consideration.
Connections - Using the Replace Component feature will connect
all compatible connectors of the new component with the objects originally
connected to the old component based on compatibility and proximity
criteria as follows:
- For each compatible connector on the new component, the closest
compatible connector of one of the objects originally connected to the
old component will be connected until all the connectors on the new
component have been used.
Attributes - All attributes on the old component will be retained
unless the new component is a reference component that has its
attributes protected on the Attributes Usage List.
Component Instance Name - A new component name will be generated
in the specifications tree for the new component.
Annotation Links - All annotation links of the old component will
be lost. The replace feature will not attempt to copy them to the new
Graphical Representation - The primary graphical representation
of the new component will be used.
Flow - Flow reality, the same as that used in component
placement, will be checked as part of the compatibility checking (above).
- For unconnected component - applies the orientation matrix of the old
component on the new component.
- For connected component - applies the orientation matrix of the old
component to the new component and finds the closest connector (in
distance) on one of the originally connected objects. Performs a
component placement on the connector found.