We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08974d2 commit b166170Copy full SHA for b166170
examples/mass_renamer.py
@@ -0,0 +1,18 @@
1
+import unreal_engine as ue
2
+from unreal_engine.classes import ParticleSystem
3
+
4
+for i in range(0, 10):
5
+ # create a particle system
6
+ particle_system = ParticleSystem()
7
+ # give it a name
8
+ particle_system.set_name('ParticleSystem{0}'.format(i))
9
+ # save it into a package
10
+ particle_system.save_package('/Game/FunnyParticles/ParticlePackage{0}'.format(i))
11
12
13
+# now ready for mass renaming !!!
14
15
+# each particle system will ends in a different folder (bur all of the particle system will have the same name)
16
17
18
+ ue.rename_asset('/Game/FunnyParticles/ParticlePackage{0}.ParticleSystem{0}'.format(i), '/Game/MovedParticles/{0}'.format(i), 'RenamedParticle')
0 commit comments