Hello,
I have tried to implement the code in hostscript.jsx and still does not work. And does getObjectValue(7) is a preset numbered 7th in order, and what if it is 10th, will it still be deleted?
Please help me on this because I am lost.
By the way I know it is old post, but it's worth to be here, especially if someone answers my question.
Thanks

Hi,
I actually messed something up in main.js and corrected the problem, actually the solution is to uncomment line 2 and everything is working fine now. Thanks again txuku, you helped me alot as I really understand now what you wanted to tell me all the time. My apollogies.