How to rename INI section?

I have successfully done adding, deleting and all sorts of things but not renaming a section in a INI file. how can we rename a section in a INI file using maxscript?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

1.Get the values in the section, that you want to rename.
2.Delete the section
3.Create new section with new name and add values from the deleted section.

ravihara's picture

Thanks!

Thanks for the tip. I went 1 ,3, 2.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.