Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

create instance model statement

Creates a new instance model and puts it in context.

Syntax

create instance model Name
    [version Version]
    on ConformsToModel
    [language LanguageName LanguageDescription]

Element Type Optionality Notes
Name Expression<Identifier> Mandatory. Specifies the name of the new model.
Version Expression<Version> Optional. If no version is specified, the new model will be version 1.0.0.0. Specifies the version of the new model, in version format.
ConformsToModel Model name Mandatory. Specifies the type model that the new instance model will conform to.
This type model must be loaded in the scripting session.
LanguageName Expression<Identifier> Optional. If this and LanguageDescription are not specified, then the new model is given en_GB "English" as initial language. Specifies the name of the new model's initial language, in language name format.
LanguagDescription Expression<Text> Optional. If this and LanguageName are not specified, then the new model is given en_GB "English" as initial language. Specifies the description of the new model's initial language.

Returns

The instance model just created.

Examples

Intent Code
Create an instance model with default version create instance model MyInstanceModel on MyTypeModel;
Create an instance model with a given version create instance model MyInstanceModel version '0.8.0.1' on MyTypeModel;
Create an instance model with default version and an explicit language create instance model MyInstanceModel on MyTypeModel language es_ES "EspaƱol";

See Also

  • (n/a)

Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020