Universal Robots Forum

Append a list in UR script

Hello, the title says it all - is there a way to append a list in UR script? Add a new member to it after it has already been created? Or is it at least possible to declare an array with size determined by a variable? I thought i could kinda do it with integer_to_binary_list but it always declares an array of size 32

Hi Peter,

Welcome to the madness. Hopefully we get this feature soon. See below:

We have a script we use that allows you to generate scripts of a size with a type already populated.

You can read more here. If you’re interested ping me and I can get you the code.

Thanks for the info, I hope this gets implemented soon.