I am writing a simple (ish) library part that I am using in an element schedule.
It is a rectangular panel that can be open to 0°, 45° or 90°. When open to 45 or 90, the panel is lined front and back. When it is at 0, it is only lined on one side.
I have created a parameter called lined_back (Lined both sides) as a boolean, which is meant to turn on or off depending on the opening angle chosen.
Two problems:
1. As a boolean, when I try to change the value in either the Master Script, Parameter Script or 3D script, I get a "unititialized variable" error (strangely enough, only in the ELSE portion of my IF statement). I can get around this by defining it as text, and changing from "yes" to "no". Clumsy, but it works - I would rather use a boolean.
2. I don't want the user to change this value, so I have hidden it. Problem is, if it's hidden, you can't list it in a schedule.
Ideas anyone?