Linked Questions
11 questions linked to/from How do you remove a draw handler after it's been added?
0
votes
0
answers
1k
views
How to display various info text in viewport [duplicate]
How to display various and custom info text in viewport with script and clean with another script and /or shortcut in blender 2.8+(im using 2.9).
SCRIPT FOR DISPLAY
...
3
votes
0
answers
633
views
Display text on 3d viewport [duplicate]
Is there a way to display text on the 3d viewport. (not text objects) After running a script I would like to display instructions on what to do next.
I have tried this scrip and it works well.. is ...
7
votes
3
answers
2k
views
How to avoid multiple running instances of same handler function when running it from editor?
I'm doing simple handler script that gets appended to bpy.app.handlers.frame_change_post.
Every time I do a changes to it and hit Alt+P it registers itself again ...
1
vote
1
answer
1k
views
How do I display a property in the viewport without using a modal operator? [duplicate]
I want to display a property in the viewport without using a modal operator. is it possible? I found this, but I did not understand how I can use (I started with python).
2
votes
1
answer
896
views
draw text always face the viewer in 3D view
I'd like to write a script to draw some text in 3D view, and I need it always face the viewer, how can I achieve this?
update:
My own answer as below.
4
votes
2
answers
405
views
Auto-set parameters when panel opens
I would like to set various parameters when I open a panel. By parameter I mean toggling the bounds for an object or changing object.display_type etc. Is there a python way of calling some code (...
5
votes
0
answers
484
views
Removing space draw callbacks after losing the handle?
A small edit of test code from GPU Shader Module (gpu) "Mesh with Random Vertex Colors" to save the handle to the driver namespace ...
...
1
vote
1
answer
347
views
Display series of 2D squares using GPU Shader Module
My addon makes measurements on objects and assign a color to the objects according to the measured value. Now I would like to display a series of stacked coloured squares in the viewport to serve as a ...
1
vote
1
answer
340
views
operator error when open a new file
The operator work correctly when I call it. But report error when I open a new file.
...
2
votes
0
answers
85
views
Selection Event for F-Curve in Graph Editor
I'm trying to catch an event when an F-Curve is selected in my add-on. I've added a handler to bpy.app.handlers.depsgraph_update_post where I'm iterating through bpy.context.view_layer.depsgraph....
0
votes
0
answers
29
views
How to lock an updating object to the screen using scripts (Blender 3.5)
I wanted to create an object that automatically updates with scripts and displays on the screen in a fixed position in Blender viewport. Kind of like how 'Objectives' in the top right of the image ...