[Feature] Drag-and-drop a Python script onto a prim to auto-create and assign the Python Scripting component

Hello, I opened this feature request here, but was redirected to this forum.

Problem / current workflow

Right now, to attach a Python script to a prim, the workflow is:

  1. Select the prim

  2. Add the Python Scripting component

  3. Drag & drop the script onto the component (or browse to assign it)

This is a bit click-heavy when iterating quickly or assigning scripts to many prims.

Requested feature

Allow users to drag & drop a .py script directly onto a prim (in the Stage tree and/or viewport) and have Isaac Sim:

  1. Automatically create the Python Scripting component on that prim

  2. Automatically assign the dropped script to that component

Motivation

This would streamline common authoring workflows and make scripting attachment feel as quick as other drag-and-drop interactions.

Hi and thanks for your post. Yes, I read through the Github post about your feature request. As they said, Isaac Sim is based on kit and so it would need to be done at the kit core level. You can probably write an extension that does this exact thing for you. All it would require is for you to modify the Stage Tree, or create your own upgraded stage tree, and make the behavior for drag and drop, exactly what you want. I will look to pass this on as a feature request. I cannot promise it will be done.