Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 69346

Python is an interactive, object-oriented programming language. In Blender, it is used as a general-purpose scripting language and to create add-ons to extend Blender's functionality.

2 votes
1 answer
964 views

Draw floating UILayout

Yet, the only answers I found for drawing custom floating UI elements referred to bgl and blf, like in these two Blender StackExchange questions: How to draw shapes in the node editor with python bgl … Is there a way to draw standard Blender UI elements in floating windows like those in the screenshot using Python? …
narranoid's user avatar
  • 197
4 votes
1 answer
439 views

Copy channels from one image to another using GPU

I need a Python script to copy a channel of one image to the alpha channel of another. … And setting up a temporary compositor node tree via Python to handle this task seems like a very dirty solution to me. …
narranoid's user avatar
  • 197
1 vote
0 answers
45 views

What is the proper way to access the active scene in a driver expression? [duplicate]

I tried to access the FPS setting of the render settings in a shader node through a driver expression. The attempt was successful, but I got a warning and a tip saying: WARNING: Driver expression may …
narranoid's user avatar
  • 197
6 votes

How can I remove a linked library with Python?

Quite an old thread, but it seems there is finally a solution available. Newer versions of Blender provide the batch_remove method in the bpy.types.BlendData type. So you can call: bpy.data.batch_remo …
narranoid's user avatar
  • 197