| 
    << Click to Display Table of Contents >> NShape Reference
     | 
    
    
     ![]() ![]()  
     | 
  
Renames the selected model object.
public void RenameModelObject(IModelObject modelObject, string newName)  | 
Name  | 
Description  | 
|---|---|
modelObject  | 
The model object to be renamed.  | 
newName  | 
New name of model object in current repository culture.  | 
Name  | 
Description  | 
|---|---|
InvalidOperationException  | 
No or more than one model objects are selected.  |