Now I’m trying to make some simple operators of my own but don’t know how to do a property/attribute like “.mode=”
I have tried (in the main part of the class): property = bpy.props.IntProperty(name=“property”, default=0, hard_min=-1, hard_max=1)
then: def init(self):
self.property = 1
But since I don’t really know how blender handles custom operator generation I don’t even know what to try. I looked in docs but couldn’t find an example. I have operators working as intended, I just can’t use properties/attributes with them.
After messing around with what you gave me I saw that I must have been looking at an older example for IntProperty because hard_min and hard_max are aparrently not valid anymore. I’m assuming it just wasn’t properly registering the IntProperty.