Rename all single prop variable targets using custom prop.
Code slapped together from How to find out what is using an image in a blend file
Searches thru every driver in the blend file and renames "oldname" to "newname"
Test script below, with example call renaming and single property driver variables targets from ["prop"] to [&...
The Property Chart add-on covers edge-cases which are lacking from the Right Click > Copy to selected and the CTRL + L "Make Links" menu pretty well (eg. copying dimensions or object name) but I find it is a bit limited :
One has to know the python attribute name in order to type it in the Properties field.
The horizontal + vertical expansion ...
roundness : bpy.props.FloatProperty(default=0.0, name='Roughness', min = 0, max = 1, update=updateFloat)
metallic : bpy.props.FloatProperty(default=0.0, name='Metallic', min = 0, max = 1, update=updateFloat)
specular : bpy.props.FloatProperty(default=0.0, name='Specular', min =...
One workaround is to use a custom property and drivers - you can use the related object's custom property, or just any new/temporary custom property if you only want to use it once. The setup is not terribly long:
Another workaround on Windows is to use Autohotkey script like so:
global STEP := ...
You can access the custom property in the form object["property_name"], for example if you created a few spheres with different property MATTYPE, you could iterate over them to print something different for each value of the custom property in this way:
spheres = [o for o in bpy.data.objects if o.name.startswith('Sphere')]
for sphere ...
Why not just use a custom property of an object? You can see it and modify it in Numbers Panel while working on modifiers:
(after creating the property simply right-click on the field and choose "copy as a new driver", then paste that driver in your modifiers)
Also remember you can setup a layout where you can see the contents of multiple ...