Changing texture data properties via python seem impossible because the properties are inherited from the texture Type
texture.noise_scale don't exists yet if
texture.type is currently
texture.noise_scale is a child property of some subclass types
so if you are starting from an image type the following code won't be able to work
texture = bpy.data.textures["MyImgTexture"] texture.type = "MARBLE" #changing type texture.noise_scale = 5.5 #changing noise scale from this new type
What can we do to refresh the child properties?
bpy.context.view_layer.update() won't help here