## Model.CommitToReference

### Introduced

v6.0

### 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.
Note: This method is a more low-level version of the CommitToReference command.

### C# Syntax

    Model.CommitToReference( String in_vName, Boolean in_bIncludeNestedRefs );

### Scripting Syntax

    Model.CommitToReference( [Name], [IncludeNestedRefs] );

### Parameters

Parameter | Type | Description
--- | --- | ---
Name | String | Filename corresponding to the current resolution. Default Value: ""
IncludeNestedRefs | Boolean | True to include nested referenced models. Default Value: false

### See Also

CommitToReference ConvertToRefModel CreateRefModel Model.ModelKind