Can't use while,for and if condition in Code block

Dear All,

We are using revit 2016 trial version and tried dynamo in it.

We tried to write logic condition in code block using while, for and if but it is error and lock symbol showing for this commands.

Please find the screenshot, please help us.

 

Regards,

Suresh


<div id=“spoon-plugin-kncgbdglledmjmpnikebkagnchfdehbm-2” style=“display:none”></div>

They can only be used in Imperative code blocks.

 

20151228-3