0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

「操作を繰り返す[Shift+R]」をまとめて処理する雑な方法

Last updated at Posted at 2021-03-12

「操作を繰り返す (Repeat Last)[Shift +R] 」便利なんだけど適用したい対象が数十にを超えたので実行するのが面倒になり書きました。

import bpy
try: 
    for o in bpy.context.selected_objects:
        bpy.context.view_layer.objects.active = o
        bpy.ops.screen.repeat_last()
except:
    pass

雑極まりないものだけど割と便利。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?