Notifications
Clear all

[Closed] Drag & Drop rename

Hey .
For a few days I have tried to create a script, unfortunately, to no avail.
In the network you can find “paste” type scripts that have the option of automatically renaming objects and materials.
However, I would like the automatic change in the name of materials and objects to take place when the file is moved and dropped onto the view port, the smt like “drag and drop”
I learned on one of the discord channels that it is impossible. Is this true?

2 Replies

When the file is dragged into a viewport a series of file notifications are generated.
Namely #filePostOpen and #filePostMerge.
What’s wrong with using those?

I think the problem is on my part and I can not construct this script correctly.
But thank you for help.