Usually to create properties, I store it in the bpy.context.scene. But I would like to have the possibilities to set different value for each view like other properties that already exists (“Lock to Cursor” or “Local Camera” in the 3D view space)
I tried to store it in “Space”:
bpy.types.Space.my_prop = bpy.props.BoolProperty()
bpy.types.SpaceView3D.my_prop = bpy.props.BoolProperty()
And call them by “space_data”
But nothing is displayed.
What am I doing wrong?