How to dynamically generate or delete UI?

Hi everyone,
As the topic, how can I dynamically generate or delete objects on the UI?
I have been studied the examples in the extensions, but it seems I couldn’t find a method to add or delete UI object.
Any suggestions?

Isaac Sim Version

4.2.0

Operating System

Windows 11

GPU Information

  • Model: RTX A4000
  • Driver Version: 537.70

What do you mean by objects on the UI?

Hi @VickNV ,
The following video is my attempt at dynamically adding UI elements. As of now, I am able to successfully add new UI elements. However, I noticed that when I delete an element and then add new ones, the new UI elements are not properly added in the correct downward position.
Currently, I am using the method of hiding and setting objects to “none” to achieve the effort of deleting elements on the UI. I am not sure if the approach is correct. If you could provide better suggestions, I would greatly apprecciate it.

Hey @vic-chen, did you solved your problem?

I’m also trying to create a dynamic UI just like you did in the video but i don’t find how. Would you mind share the documentation you use or the part of the code you made to create dynamic ui elements as in the video?

Hi @odd1704,
You can reference the extension of Isaac sim ui example.