Linked Questions
10 questions linked to/from How to get an event when an object is selected?
6
votes
2
answers
2k
views
Origins to the down of the object by default
Is there a way to make the origin of any new object appear by default at the lowest point of that object?
The center of the lowest face for a cube, for example. It's very uncomfortable to transform ...
7
votes
1
answer
603
views
How can I catch a workspace change event?
I want to write a function, which will be called after changing the workspace.
I thought, that i can find workspace change event in bpy.app.handlers, but it looks ...
2
votes
1
answer
616
views
Msgbus - How to subscribe to bpy.context.scene?
I'd like to receive a msgbus notification when the active scene is switched, or somehow otherwise capture this event and respond to it in my code.
I thought this would be a fairly simple msgbus ...
2
votes
1
answer
1k
views
How to Update NodeSocketString Value inside a node group in a attribute node using python
I have an Attribute node inside a node group, and for the node group inputs, I have created a NodeSocketString, Using ...
4
votes
2
answers
170
views
Set/Reset Statusbar on a Different Workspace
I can write some text on the statusbar on the active workspace.
bpy.context.workspace.status_text_set("Hello World")
Then I can reset to normal with
<...
0
votes
3
answers
484
views
Want to run two scripts when I change to edit mode
Im not good at python script, but I want to run two actitons when I change to edit mode. or I want to know register any Hoykey for run this scripts?
...
1
vote
2
answers
733
views
Setting the Default Value of a Float Property Dynamically
I am updating the active object's location.x with a FloatProperty with the following code.
How can I change the value of the FloatProperty slider to the active_object's current location.x when the ...
1
vote
1
answer
454
views
Is it possible to create a function that is performed on the render engine change?
I would need to perform a function on the render engine change, for example:
...
0
votes
1
answer
155
views
Avoid selecting an object in the outliner using a callback
I am working on an extension for exporting particle systems in blender to glTF. As my engine doesn't support as much stuff as blender, I am creating a template which exposes the properties that I ...
0
votes
0
answers
49
views
Print object name every time I change active object (click)
Tried this code, but it seems have some issue, can't figure it out (need your help):
...