i am need a requerst if a parameter has a value or not. If it has a value then i want to write it into my form otherwhise it should be empty.
I use the data-shape ui for multi input ui.
my intention is:
i want to create a own mask for the project information … so that nobody needs to know what the parameter means. With the multi input ui from data shape it is possibl but:
every time by starting the script the values are empty … ok soo far so good. i can fill them with letters and so an and can give my project parameters the value i want. — sounds good — now there is a change in the spelling and so an… i want to start the script and … it is empty… => so i want to start:
if “parameter” is empty than … it ist empty…
if “parameter” has a value than … show value … i press ok and the value is written to the parameter… now … the script is in a loop…
I try to make a mask where it is possible to note the project information … i don’t want to use the task from Revit…
i found from data shape the multi input ui which is able to generate a user interface … well thats sounds good.
I am able to generate my “own” projekt Information mask … (background: our BIM Manager should use our own Parameter)
But now my problem:
every time when i start this script the user interface has no values… ok thats because the text box data has no defaultText
now i tried to geht the value of the parameter first an write them into the “defaultText” … great i works… i have got the value… sounds great…
press “forward” an i am in a loop an the only way is to crash the program… (i think the problem is: first ask for the value of the parameter and after the process write the value to the parameter … and the script wants to start with asking for the parameter)
ok short way:
the parameter has no value … the “defaultText” should be empty
the parameter has a value … the “defaultText” shoud show the value