Skip to main content
code formatting, coding tags
Source Link
Ray Mairlot
  • 29.4k
  • 12
  • 105
  • 126

After creating an image using:

bpy.data.images.new(name="NewImage2", width=512, height=512)

bpy.data.images.new(name="NewImage2", width=512, height=512)

How would I set that image to the active image within the UV/Image Editor in Python?

Set Image in UV Editor Active?

After creating an image using:

bpy.data.images.new(name="NewImage2", width=512, height=512)

How would I set that image to the active image within the UV/Image Editor in Python?

Set Image in UV Editor Active?

After creating an image using:

bpy.data.images.new(name="NewImage2", width=512, height=512)

How would I set that image to the active image within the UV/Image Editor in Python?

Set Image in UV Editor Active?

Source Link

Active image of UV/Image Editor

After creating an image using:

bpy.data.images.new(name="NewImage2", width=512, height=512)

How would I set that image to the active image within the UV/Image Editor in Python?

Set Image in UV Editor Active?