Deleting LineStyles from document / transaction problem?

Hey, i’m trying to make a simple node, that will delete LineStyles (or GraphicsStyles) from the document DB.

I’m feeding into the node GraphiccsStyle elements that are already filtered by a string.contains, node runs, and then it just changes all the lines that were applied through that filter to Thin Lines, and the LineStyles I wanted to delete remain in the model.

I also get this message when I run it again, after undoing the script in Revit
image

why not like this?

ee

1 Like