MID - the modeling company Home Search Tcl Script Help Tcl Script Help Contact Support

MAPI Commands: inom_ERDiaCreate

Purpose:

Create a (S)ER diagram.

Synopsis:

inom_ERDiaCreate rep log [element] [namekind [nodeList] [maint]

Arguments:
rep The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly.
log The user's login Id which is obtained as a result of applying inom_Login.
element (optional) A Package can be specified as parent element.
Alternatively, an ERDiagram can be specified, which will then be copied (the kind can be switched between ERM or SERM).
If a Package or ERDiagram is specified, the nodeList argument is ignored.
name (optional) Diagram name.
kind ERM or SERM.
nodeList (optional) If neither a Package nor an ERDiagram is specified, a Tcl list of either ERMEntities or ERDEntities can be specified. These entities will be placed into the new diagram.
maint (optional) If nodeList contains ERMEntities, a maintenance can be stated as Local (default), Global or User. Else, this argument is ignored.
Result:

If successful, the diagram is created and its Id is returned.