xpfOpenModelBN

FUNCTION xpfOpenModelBN (repositoryId : GENERIC;
                         modelName    : STRING;
                         access       : INTEGER) 
                         modelId      : GENERIC;
                

The xpfOpenModelBN function opens the specified model in the specified open mode. The actual model is fully specified by the arguments <repositoryId> and <modelName>.and returns an identifier of the open model <modelId> or a zero when the function fails .

Arguments


TypeNameComment
GENERICrepositoryIdUnique id of the repository that the model is located in
STRINGmodelNameThe name of the model
INTEGERaccess

The legal access modes are:

  • xpxRO :  Open for read only operations.
  • xpxRW : Open for read and write operations 
  • xpxERW : Open for exclusive read write operations in a edmServer implementation.

In a standalone implementation, xpxERW is equal to xpxRW.

Return Value


 

TypeNameComment
GENERICmodelIdidentifier of the open model   or a zero when the function fails

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â