Introduced in QPR 7.2.1
Opens a model identified by vModel parameter, which can be either a model ID or a model name. Sets Model parameter to point to the opened model. Also global name SCModel points to the opened model (SCModel points always to the model that is currently open).
SCApplication.OpenModel(vModel, out Model)
vModel: variant, either model ID (integer) or model name (string)
Model: pointer to opened model
View rights to model
Below are listed the return values that this function can return:
iRet = SCApplication.OpenModel("Dentorex", Model)