Clean Tree fails to clean empty elements

Why would clean tree block not remove these empty elements within a branch?

Also does not work when I put elements in their own branches:

I’m piecing together that ‘empty’ isn’t actually empty, it’s a string of text, but them I’m not able to target it with find/replace:

can you post a .gh file with internalised data please ?

1 Like

I’ve uploaded a stripped down version of my script and I’m reviewing the script/thread that Mahdiyar has linked to.

Thank you both!

brep_slice_DC28-Fix_Gcode_Interprutor-troubleshooting_1.gh (6.3 KB)