Universal Robots Forum

How to create an assigmentnode?

What is the proper way of creating an assignment node or is there a bug?

TreeNode root = getRoot();
ProgramNodeFactory nf = getProgramNodeFactory();     
root.addChild(nf.createMoveNode());

I get an error when trying to rename it.