My overall goal is to create a dynamo player script so I can select all lines of a line style and change or replace them with another existing line style. My script is almost finished but I’ve hit a snag. My List.GetItemAtIndex returns a warning because of the negative coming from my List.IndexOf. I’m sure I’m over complicating this whole script. Any advice or help is appreciated.
Replace Linestyles.dyn (31.7 KB)