Linked Questions

6 votes
2 answers
3k 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 ...
Wizarmoon's user avatar
  • 140
7 votes
1 answer
693 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 ...
Crantisz's user avatar
  • 35.3k
2 votes
1 answer
739 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 ...
Quentin Walker's user avatar
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 ...
Rakesh choudhary's user avatar
4 votes
2 answers
200 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 <...
zeeporo's user avatar
  • 43
1 vote
2 answers
920 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 ...
Dr. Pontchartrain's user avatar
0 votes
3 answers
521 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? ...
Jin K's user avatar
  • 11
1 vote
1 answer
481 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: ...
Noob Cat's user avatar
  • 1,272
0 votes
1 answer
161 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 ...
jjcasmar's user avatar
  • 359
0 votes
0 answers
74 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): ...
APEC's user avatar
  • 590