Get line styles of background opened documents

Hi, i am trying to get all line styles in a background opended document in order to delete them but i can’t find a solution. Normally I would use the node “Tool.GetLineStyleByName” from Steam Nodes but this only works in the current document.

Hey,

Here’s a related thread you might find interesting… Lots of issues to consider!

Of course if you click into the Steam node you can see how the python is working.

Hope that is useful,

Mark

1 Like

Thanks Mark.

I have searched aorund the web for a solution but everything I can find is not working with background documents.

In the screenshot below you can see the node “Get Category Properties” this one would be the perfect one for finding the line styles".

Any ideas or alternatives to make it work with background documents?

Thanks for all your help.