How to change a *VectorProperty size?

by gmagno   Last Updated September 11, 2019 15:15 PM - source

Let's say I've created a scene property named a:

bpy.types.Scene.a = bpy.props.IntVectorProperty(
    name='a',
    description="Frequencies",
    size=2,
    default=[1, 2]
)

And now I would like to update it's size to something else.

  • How can I do that?
  • Do I have to override the property? What if instead of a single property I have a PropertyGroup and I want to update an IntVectorProperty that belongs to the group?


Related Questions


plot x,y,z without flat background

Updated September 20, 2019 01:15 AM



Values to straighten wave texture?

Updated January 15, 2019 17:15 PM

Align vertices along vector (Python)

Updated August 13, 2018 04:15 AM