Previous Topic: Accessing a ModelNext Topic: ISCApplication Interface


Using the API as an Add-in Tool

When the API client is a DLL that is invoked by clicking Add-Ins from the Tools menu, the client runs within the environment of CA ERwin DM. As a result, all the models that are currently open within CA ERwin DM are populated in the PersistenceUnits property of the ISCApplication interface, when an instance of the interface is created.

To iterate through the models that are currently open in CA ERwin DM, you can use the ISCApplication interface, ISCPersistenceUnitCollection interface, and the ISCPersistenceUnit interface, which are described in the sections that follow.