T
by theoryshaw on 26 Mar 2022, edited 16 Apr 2022
#
Let's say you link a Blender file inside another Blender file. After that, is there a way to 'Display as wire' for that entire linked file?
Would like to find a workflow where i can reference another file, but make it transparent or faded (or some other graphical convention), in order to better see the objects in the working file.
B
by bruno_perdigao on 28 Mar 2022
#
+5 votes
Take a look at this script. It will select every linked object in the scene and change their viewport display to 'wire'. If you play it again it will come back to 'textured'. Would that work?
import bpy
all_objs = bpy.context.scene.objects
for obj in all_objs:
if obj.library != None:
if obj.display_type == 'TEXTURED':
obj.display_type = 'WIRE'
else:
obj.display_type = 'TEXTURED'
T
by theoryshaw on 28 Mar 2022
#
+3 votes
Yes, that works awesome! Thanks!
i changed it to this, because the ifcopeningelement turned 'textured', since it was 'wire' to begin with.
import bpy
all_objs = bpy.context.scene.objects
for obj in all_objs:
if obj.library != None:
obj.display_type = 'WIRE'
Would be awesome to have a little toggle right there. :)

M
by Moult on 16 Apr 2022
#
+2 votes
A hint that in Blender you can copy most property to any other selected object. For example, I can set Display As to wire, then choose copy to selected when right clicking on the property. You can bulk select linked objects in the outliner.
