Need help... Assigns IntProperty as an actual Int... It's assigning itself???????????



class #!@#*&%)(bpy.types.Operator):
...

    cp_count = bpy.props.IntProperty(
        name = "Amount of Control Points",
        min = 2,
        max = 64,
        default = 2)

...

    def execute(self, context):

...

        cp_count = self.cp_count
        lattice.data.points_u = cp_count

...


Here is the error output…


After a careful examination of this error message I think I’ve solved my problem… by solving another problem…

Good Game, Well Played… I’m starting to doubt my choice of attempting to code a plugin now…