I’m trying generate a set of parameters from a list and in input the values.
Elements are going into the list Grafted so they go one by one and the parameter names populate in each. My basic test of one element that already exists this worked, but when I generate some basic cylinder forms and populate them it says they are ready only.
Has anyone dealt with newly generated families triggering read-only errors before?
Sure I’ll try replicate it with a small example tomorrow. This script is pretty long I won’t up load the entire thing. I was wondering if one drive was causing it as it chooses it’s own files to add and remove.
But, I’ll whip up something tomorrow and if you can replicate the problem then I guess one drive isn’t the issue.
So I finally managed to figure this one out. I needed to Get the types of the newly created component. It was my understanding I did have the types, but with further fiddling I found that the data I could see when I looked at the element parameters was instance data. This lead me down the path of looking for a way to query type data. A previous forum post showed me Element Type component is used for retrieving the Type of element, and I had success reading Type parameters now.
I added this to my script and that seemed to be the magic component Element Parameter was after, it wanted elements filtered to their types.
In hindsight, to the super experienced on here it may seem obvious now, but it’s been a roadblock for me for ages.