Linked Questions

0 votes
0 answers

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 ...
user avatar
3 votes
0 answers

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 ...
Michael Teiniker's user avatar
8 votes
3 answers

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 Every time I do a changes to it and hit Alt+P it registers itself again ...
basse's user avatar
  • 83
1 vote
1 answer

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).
logiquefloue's user avatar
2 votes
1 answer

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.
NGE's user avatar
  • 347
4 votes
2 answers

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 (...
DrDress's user avatar
  • 553
5 votes
0 answers

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 ... ...
batFINGER's user avatar
  • 84k
1 vote
1 answer

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 ...
amaizel's user avatar
  • 167
1 vote
1 answer

operator error when open a new file

The operator work correctly when I call it. But report error when I open a new file. ...
X Y's user avatar
  • 5,492
2 votes
0 answers

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 where I'm iterating through bpy.context.view_layer.depsgraph....
Dr. Pontchartrain's user avatar
0 votes
0 answers

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 ...
tranade's user avatar