For example:
TempNull = app.project.activeItem.layers.addNull();
.
.
.
Use it somehaw
.
.
.
TempNull.remove();
it will remove object from comp
but how to remove it from project also (newly created Null item in "Solids" folder)
I want to keep the project structure the same as before script execution.