Universal Robots Forum

Lock / prevent deletion of a single node?

As part of a URCap template program tree, I have a sequence where one node is required to be present, i.e. it cannot be deleted or suppressed, but they can be moved up or down. All other contents of the sequence are optional and can be modified. For example:

      MoveJ         <-- Optional, can be deleted, suppressed or moved.
      RequiredNode  <-- Required, can be moved, but not deleted or suppressed.

As far as I know, the SDK allows to lock all children of a node, but it’s not possible to perform a similar action on individual nodes:


Are there any options to consider this usecase other than verifying the required node’s presence/absence at script generation time?

Thanks in advance