移动所选的笔画或图层到指定的图层。
layer
mode
移动选择的笔划到第二个图层。
import bpy bpy.ops.gpencil.move_to_layer( layer=1, # 移动到第二个图层 mode='SELECT' # 只选择所选笔画 )