More control with Debug Draw

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: 3080

Topic Description

Detailed Description

I’m trying to have more control with drawing with Debug Draw. For example, I would like to draw several lines and some time after only delete one of them.

I have tried creating several of these:

draw_a = _debug_draw.acquire_debug_draw_interface()
draw_b = _debug_draw.acquire_debug_draw_interface()
draw_c = _debug_draw.acquire_debug_draw_interface()

But if I do

_debug_draw.release_debug_draw_interface(draw_b)

or

draw_c.clear_lines()

All the lines are deleted. A workaround is to use thin meshes to draw, but I guess that’s not a good approach. Any help appreciated.