Skip to content

CREATE_APP_MODEL ​

CREATE_APP_MODEL creates a new application model

Syntax ​

leo-grammar
CC "Core" CREATE_APP_MODEL strValue bpmodelids:strValue wemodel:idValue [points-on-thread].
CC "Core" CREATE_APP_MODEL strValue bpmodelids:strValue wemodel:idValue [points-on-thread].

Parameters ​

  • <main-parameter> (strValue) - the name of the application model
  • bpmodelids (strValue) - a list of model IDs defined in the ADOxx dynamic library
  • wemodelid (intValue) - the ID of a model defined in the ADOxx static library
  • points-on-thread (modifier) - may only be specified if you have a versioned application library. It determines whether your application model should point to a modelthread or to a specific model version.

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.
  • appmodelid (intValue) - contains the id of the newly created application model.

Details ​

See Also ​

Versions and Changes ​

Available since ADOxx 1.3