QPR Knowledge Base

MergeModel

Hide Navigation Pane

MergeModel

Previous topic Next topic No expanding text in this topic  

MergeModel

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Revision history:

Introduced in QPR 7.2.1

 

Merge an .smf file model with the currently open model. Model stays open so SCModel global name can still be used after calling MergeModel.

 

Synopsis:

 

SCModel.MergeModel(FilePathName)

 

Parameters:

 

FilePathName: String. "C:\examplemodel.smf" for example

 

Required Rights:

 

Administrator or Model Administrator rights to the SCModel.

 

Return Values:

Below are listed the return values that this function can return:

 

RV_SUCCESS

RV_MODEL_NOT_OPEN

RV_INVALID_MODEL_PATH

RV_PERIOD_SYSTEMS_DIFFER

RV_OTHER_USERS_CONNECTED

RV_INVALID_FILE_FORMAT

RV_UNKNOWN_ERROR

 

Example Procedure:

 

iRet = oModel.MergeModel("c:\test.smf")

 

Comments (...)