Questions tagged [operator]
An operator is a processing unit that is invoked/executed on scene data by the window manager.
527 questions
0
votes
1
answer
36
views
Best way to allow user to edit property that is average of value (like Transform panel)?
I'm running Blender 5.0.0. I want to implement a function similar to the Transform panel in the Items tab of the sidebar during Edit mode. I want to:
Display an average of a custom attribute over the ...
2
votes
1
answer
64
views
Bridge edge loops - Where does each loop start?
Working on a python script. I have three edge loops in a model which were all created as copies of a single, flat/coplanar loop. Each copy has been moved and scaled slightly relative to each other, ...
0
votes
0
answers
28
views
Call pack islands operator with a low level override showing popup for tweaking
I'd like to pack island by calling the operator from code with a low level override. Here it is:
...
2
votes
1
answer
65
views
Problem with getting a current context inside a modal operator
The following modal operator (after launched from F3) should report the type of left-clicked screen area.
*But instead of reporting the type of clicked area - it reports the type of area from which it ...
2
votes
1
answer
207
views
How do I show the Last Operation panel?
How do I get the operator panel to show up on the bottom left corner of my screen?
1
vote
0
answers
52
views
How to Transfer Object Data Properties Between Two Curves
I have two curves with different Object Data Property values. How can I transfer the Object Data Property values from one to the other? I don’t want to set them one by one while holding the Alt key.
0
votes
0
answers
56
views
Report message from previous run persists in successive run of the same operator
Summary
When an operator is run multiple times successively in blender, report messages (generated by report() API) from previous runs are also showing up in present run.
What is the reason behind it ...
6
votes
2
answers
359
views
How can I store selected edges in Geometry Nodes?
I have a modal operator that, when executed, captures the selected vertices of an object and assigns them to a vertex group called selected_vertices. This vertex ...
0
votes
0
answers
28
views
How to run multiple modal operators to download images using separate threads?
Let say I have an Operator.bl_idname=download.image with url: StringProperty(),
I am drawing this operator in a ...
3
votes
0
answers
60
views
How to Set a Custom Label for the Export Button in File Dialog?
Is there a way to customize the export button label in the File Dialog? Currently, the button always uses the bl_label of the operator, but I’d like to set a ...
0
votes
0
answers
33
views
Adjust Last Operation Panel Not Showing When Using Operator Poll Method with Mesh Object Check
I have an operator that creates bones in an armature, where each bone's tail points
toward a random vertex on a selected target mesh object. The operator works as expected,
and I can adjust the number ...
0
votes
0
answers
19
views
Run Two ops.transforms in the same modal
Is it possible to start a modal operator with one transform operator, and then part way through, swap to another?
I'm trying to start my operator with cursor_transform=True, and then swap to ...
1
vote
1
answer
117
views
bpy.ops.console.scrollback_append RuntimeError context is incorrect when called from SimpleOperator template
repro:
Run Blender 4.2.0
File -> New -> General
Scripting Workspace
Template -> Simple Operator
replace main function with
...
3
votes
2
answers
104
views
can't get proper context.selected_ids from 3d view
I'm trying to get selected objects from outliner running an operator from 3d view.
In outliner 2 objects selected (one hided: 'eye' disabled). Running an operator from any other area (Text editor, ...
1
vote
1
answer
51
views
How to display Size property in form of "number+units" in the custom operator's REDO panel?
If we add some standard mesh (e.g, cube) - the Size property will be displayed as
number + units :
API documentation says that in case of primitive_cube_add the ...