Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

clone statement

Clones a model into an identical copy, optionally keeping the same guid.

Syntax

clone [ModelName] [keep guid]

Element Type Optionality Notes
ModelName Model name Optional. If no model name is specified, the model in context is used. If no model is in context, an error occurs. Specifies the model to clone.

Returns

The newly created model.

Examples

Intent Code
Clone the model in context clone;
Clone an explicit model clone MyModel;
Clone an explicit model and keep the same guid clone MyModel keep guid;

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