GreasePencilArrayModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.GreasePencilArrayModifier(Modifier)

Create grid of duplicate instances

constant_offset

Value for the distance between items (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

count

Number of items (in [1, 32767], default 2)

Type:

int

invert_layer_filter

Invert layer filter (default False)

Type:

bool

invert_layer_pass_filter

Invert layer pass filter (default False)

Type:

bool

invert_material_filter

Invert material filter (default False)

Type:

bool

invert_material_pass_filter

Invert material pass filter (default False)

Type:

bool

layer_pass_filter

Layer pass filter (in [0, 100], default 0)

Type:

int

material_filter

Material used for filtering

Type:

Material

material_pass_filter

Material pass (in [0, 100], default 0)

Type:

int

offset_object

Use the location and rotation of another object to determine the distance and rotational change between arrayed items

Type:

Object

open_constant_offset_panel

(default False)

Type:

bool

open_influence_panel

(default False)

Type:

bool

open_object_offset_panel

(default False)

Type:

bool

open_randomize_panel

(default False)

Type:

bool

open_relative_offset_panel

(default False)

Type:

bool

random_offset

Value for changes in location (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

random_rotation

Value for changes in rotation (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Euler

random_scale

Value for changes in scale (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

relative_offset

The size of the geometry will determine the distance between arrayed items (array of 3 items, in [-inf, inf], default (1.0, 0.0, 0.0))

Type:

mathutils.Vector

replace_material

Index of the material used for generated strokes (0 keep original material) (in [0, 32767], default 0)

Type:

int

seed

Random seed (in [0, inf], default 1)

Type:

int

tree_node_filter

Layer name (default “”, never None)

Type:

str

use_constant_offset

Enable offset (default False)

Type:

bool

use_layer_group_filter

Filter by layer group name (default False)

Type:

bool

use_layer_pass_filter

Use layer pass filter (default False)

Type:

bool

use_material_pass_filter

Use material pass filter (default False)

Type:

bool

use_object_offset

Add another object’s transformation to the total offset (default False)

Type:

bool

use_relative_offset

Add an offset relative to the object’s bounding box (default True)

Type:

bool

use_uniform_random_scale

Use the same random seed for each scale axis for a uniform scale (default False)

Type:

bool

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions