Inspired by the Blender Conference GUI video, I’ve set out to test some of the waters as presented in that video as well as write a script that will update various object properties on multiple objects at once.
This script use my new DrawX module but this thread is specific to the multi-update script that simply uses that module.
At present the script can update (on all selected objects):
Loc X, Y, Z
Rot X, Y, Z
Size X, Y, Z
Draw Types: Shaded, Solid, Wireframe, Bounds
Draw Extras: Name Label, Axis, Wireframe, Transparency, X-Ray, Texturespace
hi FourMadMen,
How much further are you going?
It has long been a hope of mine, that some common function scripts from the wiki catalog,
be merged into super scripts or consolidated.
So as usual, some suggestions.
The BatchX script, there are some functions here that could be useful.
Especially in multi object conversion.
TheSaltshaker script, it’s use of the random module is great.
Well, i guess it all depends on the direction you are taking,
RobertT’sAllign/Displace script, just throwing round ideas.
Some of the select by options from the object/select menu could be useful…
ha, you know all that anyway!
keep up the great work!
Looking over the scripts above I see features in BatchX and Align/Displace that will also be in this script. Minus the randomizing stuff of course. The advantage of my script in the use of DrawX is that you can see which settings are the same for each object (or different for each object). Also with the collapsible sheets and scrollbar it is easier to show/not-show and move around the features.
Where I plan to go: Basically any properties that can be applied to any object is a good place to be with this script. With, of course, some setting at the mesh level (for meshes obviously). I’m taking my initial cues from the BConf UI presentation and going outwards from there.
It would appear that the Draw Extra Bounds (and subsequent Box type) is the only Draw Extra that is not exposed by the API. Or at least I’m not seeing it.
Moving on to the next set of operations.
Since this script operates on selected objects it makes sense to have some ways of selecting objects. The usual suspects apply: By material, by name (with wildcards), by type, by geometry characteristics, etc. (open to ideas here).
Set Smooth (and Angle)
Set Solid
And others of that nature as the API allows
Materials (including but not limited to):
Adding (either because one of the other selected objects has it or as a dropdown selection in the case where none of the selected objects currently has it).
Deleting
Enable/Disable all texture channels for all materials in all selected objects
Enable/Disable all texture channels for a particular material in all selected objects.
Switch all materials to “Wire”
It would be nice if one of the 2.5 coders see this script and hardcode it as part of the new UI, it does seem you’re nailing just how it will be coded.
I can’t say exactly when this will be released but I’m planning for a release around Christmas time.
One thing I forgot in terms of object is setting of Groups. I mostly forgot because the Object module does not contains a “groups” list (as in this object is in these groups). I find that odd. The Group module has “objects” (as in this Group is used by these objects) but not the inverse. Again, an odd omission.
But won’t let that stop me. In fact I’ve added it to my todo list at the top, so it’s next.