CommitToReference

Introduced

v6.0

Categories

RefModel|Delta

Description

Updates the saved model file (.emdl) with the current state of the reference model and its Delta. The file that will be overwritten is associated with the current resolution unless the user cancels the action in the confirmation dialog box (when the Confirm parameter is set to True).

Note: This command is similar to the Model.CommitToReference method but allows you to provide a way for the user to cancel the process before it is finished via a confirmation dialog box.

Scripting Syntax

CommitToReference( [Model], [IncludeNestedRefModels], [FileName], [Confirm] );

Parameters

Parameter Type Description
Model String The model name.

Default Value: Current selection

IncludeNestedRefModels Boolean True to include nested referenced models.

Default Value: false

FileName String Filename corresponding to the current resolution.
Confirm Boolean True to display a confirmation dialog box before proceeding.

Default Value: true

See Also

ConvertToRefModel CreateRefModel Model.CommitToReference