Change OIDs#
Rationale#
SCADE uses generated unique identifiers (OIDs) to refer internally to model elements. These OIDs are stored in the model files.
A SCADE project that has been initiated by copying files from an existing one contains many duplicated OIDs. If these projects need to be integrated together, conflicts would happen in the integration with external tools that rely on OIDs to refer to model elements. For instance, traceability between requirements in an external ALM tool and model elements would be unable to resolve unambiguously.
Note
When initiating a project from another one, a best practice is to copy/paste packages and other model elements directly from the SCADE IDE rather than from the file system.
Note
This tool requires Ansys SCADE 2024 R1 or greater.
Description#
This tool has several sub-commands described in the following sections.
find: lists the duplicated OIDs.new: replaces the duplicated OIDs and update references.
Usage#
usage: ansys_scade_ps_change_oids [-h] {find,new} ...
Ansys SCADE Power Scripts: Change duplicate OIDs
positional arguments:
{find,new} change_oids sub-commands
find find duplicate OIDs
new create new OIDs
options:
-h, --help show this help message and exit