I’ve created some shared YES/NO parameters for a Door schedule. Next, I’m trying to create a routine where I swap the Yes/No when I add schedule into a sheet.
For example, for the parameter VP - Vision panel I want for “YES” equal to VP and “NO” equal to empty.
The routine works until “Element.SetParameterByName” as you can see on the image. the warining is “Warning: Element.SetParameterByName operation failed. The parameter’s storage type is not a string.”
Obliviously I’m doing something wrong. Any solutions please?