Custom Property to Object Name

I need a script that takes objects custom property “ifc_guid” and renames an object with “ifc_guid” value.

Here is a default cube with example custom property and value.
http://kodu.ut.ee/~nils/3D/ifc_guid.blend

I need to do that with a file that has 10 000 objects.
I can pay for the script.

e-mail me [email protected]

This should work, it might take a minute to work through 10,000 objects, but it should work!


import bpy

for i in bpy.data.objects:
    if i.get('ifc_guid') is not None:
        i.name = i.get('ifc_guid')

Thanks!

It took less than 2 seconds to rename all 10 000 objects.