Using python to do a counter in dynamo

Hello
because the node and the variables are re-initialized at each instance/launch
some solutions:

  • save the variable outside the script (txt file, pickle, …)
  • use a node to get/set the variable (see this example)