# Merge Identical

### <img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FpwHtVrjYV3cyU8pzHjcX%2FG5_05_RENDERING_MERGE_IDENTICAL.png?alt=media&#x26;token=d393cc13-dfd1-4f3e-86b7-9c94b882fbb3" alt="" data-size="line"> Merge Identical

The RenderMergeIdenticalMaterials command finds materials with the same settings in the model, keeps one of them, and deletes the rest. Material assignments will update accordingly.

<figure><img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FKr8Y1QmniSxBvkMw8bHo%2Frendermergeidenticalmaterials.gif?alt=media&#x26;token=68f53d7f-b77e-4bce-be34-09ff0d940834" alt=""><figcaption></figcaption></figure>

#### Command-line options

-SameNameOnly (Yes/No): Set yes to only merge identical materials with the same name.

For more information, please refer to the [Rhino documentation](https://docs.mcneel.com/rhino/8/help/en-us/commands/rendermergeidenticalmaterials.htm?Highlight=merge%20identical%20materials).
