Rhino.Inside - Line Styles are not being deleted

Hi there!

I’ve been doing some Purging Scripts for Revit with Rhino.Inside and noticed the following thing:

When trying to delete Line Styles they get deletes from the Line-Style List in GH but they are not actually eliminated from the Revit Model.

here you can have a look:

I’m filtering the undesired Line Styles by Name - deleting them via the Delete Element Component but they are still there in the Line-Style list.

Is this a bug?


Hi Miru,

Use this route, delete the subCategory

Great! Thanks!

I would suggest here to also filter by Match Text if anyone plans to use this mehod :slight_smile:
Otherwise it might get confusing hehe