Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

merge statement

Merges model elements from a type model into another type model.

Syntax

merge [SourceModel] into DestinationModel [package SelectedSourcePackage]

Element Type Optionality Notes
SourceModel Model name Optional. If no model name is specified, the type model in context is used. If no type model is in context, an error occurs. Specifies the source type model from which elements will be merged.
DestinationModel Model name Mandatory. Specifies the destination type model into which elements will be merged.
SelectedSourcePackage Package name Optional. If no package name is specified, all model elements in the source model will be merged. Specifies the package in the source model from which elements will be merged.

Returns

A boolean value; true if the merge operation was successful, and false otherwise.

Examples

Intent Code
Merge elements from the model in context merge into NewModel;
Merge elements from an explicit model merge ReusableModel into NewModel;
Merge elements from a package merge ReusableModel into NewModel package MaterialEntities.Structures;

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