I've been having issues with Dynamo Element.SetParameterByName. In the past I have been able to create adaptive components for Patterns and have noticed that no matter what I do the parameter error comes back that it is read only. I'm currently using Dynamo Core 3.19.3.6394 and Dynamo Revit 2.19.3.10292. I've attached the graph I'm using. This graph works on adaptive elements that are not in a pattern but refuses to access the parameter in the components inside a pattern (Simple Mass Element). I've used the same graph before and never had an issue. I've reviewed some YouTube videos that show the same methods I'm using and it's apparently working. I thought I was missing something but when I followed to the letter what was shown, I get the same error - but theirs work??
Is there something I'm missing that has changed?
Just in case it helps, here is the file if anyone can take a look at.
Louis
Please mention Revit version, especially when uploading Revit files.
Thank you for responding L.Mass. I originally had it set to Instance since each component would be affected uniquely with the random list, but it didn't work. I then tried the Type parameter and tried running it with a number slider, which also didn't work. I reverted back to the Instance but must not have saved my file before posting it. Either way, even when the "Offset" parameter is set to Instance it still doesn't work. Any deeper insight into this maybe being a bug?
Kind regards
Chris
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.