Rename Objects Add-In

Do you have objects, models, libraries, path decorators, textures, symbols, custom API code, documentation, or anything else others might find useful? Please attach it here with a brief description.
Post Reply
gtwirth
Simio Team Member
Posts: 156
Joined: Mon Jun 09, 2008 4:42 pm

Rename Objects Add-In

Post by gtwirth » Wed Oct 26, 2016 10:41 am

Here is an add-in that will rename the objects in your model based on values in a table.

The first time you run the add-in, it will create a table called "Object Name Change".
RenameObject_Table.png
RenameObject_Table.png (70.97 KiB) Viewed 2887 times
The uses will add the existing object name(s) and the new object name(s). Once done, run the add-in again and the object names will be changed in the model.
RenameObject_Results.png
RenameObject_Results.png (110.41 KiB) Viewed 2887 times
To install, download the "RenameObjectsDLL.zip". Extract the "RenameObject.dll". Right click DLL and select Properties and then Unblock. Then, copy DLL into "C:\Users\<YOUR USERNAME>\Documents\SimioUserExtensions". You might need to add the SimioUserExtensions folder under MyDocuments (C:\Users\<YOUR USERNAME>\Documents) if it does not already exist.

The c# code is also provided in the RenameObjectsCode.zip
Attachments
RenameObjectsCode.zip
(43.91 KiB) Downloaded 153 times
RenameObjectsDLL.zip
(60.6 KiB) Downloaded 156 times
Glen Wirth
Simio LLC

Post Reply