Saving a custom component with new name resets the dialog contents
Question:
I saved a custom component with new name and the dialog contents was reset, why?
Answer:
This happens because of the creation of new input file in "CustomComponentDialogFiles" Folder in Model Folder. The file name will be "NewComponentName".inp file.
You can open the file with a text editor to check the content. After saving a custom component with new name, to retain the same dialog properties as old one, you have to copy all the content from the "OldComponentName".inp file to "NewComponentName".inp, then save the file and reopen the model.
However you can use Custom Component Dialog Editor to edit further with more ease.
To keep this input file unchanged in future, either we have to make the file as read only or Lock the file with Custom Component Dialog Editor.