ConfL Off with API

Hi!

I want to Create a Path with a ConL Off instruction at the beginning and a ConfL On instruction at the end.
I know how to create moveInstruction, but how can i create RsActionInstructions?
Does anyone know?

The API documentation is not very helpful in this :frowning:

regards, Matthias

Hi Matthias
Here is a simple example

RsActionInstruction actInst = new RsActionInstruction(yourTask,“ConfL”,“On”);
yourPath.Instructions.Add(actInst);

Thanks!
Its easier than I thought :slight_smile: