3
$\begingroup$

Is it possible to set the default size of the Empty Object? The problem is since I switched my blender scale to metric, the Empty's default size is kinda large for most times I need it.

$\endgroup$

4 Answers 4

6
$\begingroup$

Directly after you add an Empty press F6 to get the Add Empty Operator parameters.

enter image description here

The Radius parameter will set the visual size of the current Empty and all new Empties that you add afterwards during that session.

Unfortunately there isn't a configuration option to set the default radius permanently.

$\endgroup$
1
  • $\begingroup$ possibly a script could be told to load on each new .blend file to add an empty and set the radius and remove it (all behind the scenes) -- but simply setting the Radius once is almost effortless too.. $\endgroup$
    – zeffii
    Commented Dec 1, 2015 at 8:28
2
$\begingroup$

When adding an empty from the add object menu, change the radius to the setting you desire. The inverse of the scene unit settings scale_length will give you a result of 1m

This can also be edited on the empties data panel.

The following changes all empties to 1 based on the scale_length.

import bpy
context = bpy.context

scene = context.scene

scale_length = scene.unit_settings.scale_length
empties = [o for o in scene.objects if o.data is None]

for empty in empties:
    # 2.79 :
    empty.empty_draw_size = 1 / scale_length
    # 2.8+ :
    # empty.empty_display_size = 1 / scale_length

or calling the operator

bpy.ops.object.empty_add('INVOKE_DEFAULT', radius=1 / scale_length)

using invoke default keep that value for the next time the operator is run.

$\endgroup$
2
  • $\begingroup$ sorry if this sounds just dumb, but can you tell me where to find that bit of script? $\endgroup$
    – Bellini
    Commented Dec 1, 2015 at 8:14
  • 1
    $\begingroup$ To run the script, copy, paste into a new text block, right-click "run script". $\endgroup$
    – batFINGER
    Commented Dec 1, 2015 at 8:30
1
$\begingroup$

For 2.90+ Blender versions there is now an option to set default empty size for new collection instances.

This won't affect plain empties added from the Shift + A Add > Empty menu, but will set default size for new collection instances added from Shift + A Add > Collection list.

You can find it under Edit > Preferences > Editing > New Objects > Instance Empty Size.

enter image description here

$\endgroup$
0
$\begingroup$

For 2.8x replace empty_draw_size by empty_display_size in batFINGER's code

import bpy
context = bpy.context

scene = context.scene

scale_length = scene.unit_settings.scale_length
empties = [o for o in scene.objects if o.data is None]

for empty in empties:
    empty.empty_display_size= 1 / scale_length
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .