How to open a definition window from your VBA macro in Rational System Architect
How do you open a definition's properties editor window (SAEdit) from a Microsoft Visual Basic for Applications (VBA) macro in IBM Rational System Architect(SA)?
You want to know how to invoke a specific definition's Object Dialog box for from your VBA macro to edit the definition's properties in SA.
You can use Rational System Architect's Interface Manager (ISAIMF) in your VBA macro to open a definition editor window in SA as per the following code example:
Set SA = New SA2001.Application
Set SAImf = SA.Interface("ISAIMF")
Call SAImf.SAEditDefinition(61, 0) ' Where ddID = 61
All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
More support for:
Rational System Architect
Software version: 11.0, 11.1, 11.2, 11.3, 11.3.1, 220.127.116.11, 18.104.22.168
Operating system(s): Windows
Reference #: 1455122
Modified date: 2013-08-15