hello, very noob in coding Im working in my spear time on a program to help me work in maya and those are the 3 more important question i have so far question 1: how do i take the 63 and put it at the place of the two other number (922 and 921) question 2: how would i reconstruct two string and put them in another list or…
that's a different problem,, 30 seconds with google proved my fear that this was going to involve regular expressions to be correct... your answer is on this page :smile: https://stackoverflow.com/questions/19084443/replacing-digits-with-str-replace
so when i make a model that got alot of part I dont name them i just use a rename script that give like : stretchhooder_number_high so what i want is a script that i can select my highpoly and my low and it will find the two number in the two names and change it with the same number so that when i bake in substance painter…
Concatenation is done with + So string + '_' + string will give you string_string You can access and change each list entry by index Eg. List[0] = '63' will change the first item in a list to 63 (as a string) You can append to a list Eg.. mylist = [] mylist.append('stuff') I'd suggest you explain the problem from a stage…