Forum

Multi editing for param Selectable ?

10 October 2016 18:09 #12568
Hello,

Is it possible to affect "Selectable" to many objects by one click ?

I have a lot of objects and actually I select each object one by one to affect this. It's boring.

Thanks.
11 October 2016 15:50 #12606
Hi,

You can use a three-lines Python script for this task.

1) Open "Text Editor" in Blender.
2) Create a new file and put the following text inside:
import bpy
for o in bpy.context.selected_objects:
o.b4w_selectable = True

3) Select all required objects and press the "Run Script" button.

This approach can be used for any property you need.
Blend4Web developer
11 October 2016 16:03 #12608
I didn't know this technique, It works, It's great !
Thanks Evgeny

[edit :]
And where I can find the others parameters reference like your ".b4w_selectable" please ?
In the doc, I find only module.
11 October 2016 17:05 #12611
Hover a mouse cursor over the element you'd like to find about and it'll give you needed information

3D Generalist, contests administrator,
Blend4Web team.
art blog: http://contret-art.tumblr.com/
 
Please register or log in to leave a reply.