It was working several months ago, I think it's because the Python 2 is changed to Python 3, and I don't know how to solve this.
Please help.
The error message is pretty clear. Your input is a bunch of strings that naturally have no Ids in your Revit document. The script is not aware of the fact that they're actually names of line styles. You're saying "give me the Ids of these strings", but you actually need to say "give me the Ids of line styles that are named according to these strings". I don't see how this could have ever worked. Didn't you change the input from the last time?
there is a node from modelical that does exactly this.
if you are hellbent on having your own code check how its done in that package.
but i would just use that one
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.