This API supports undo/redo in NOTE.Only elements on the main lasso layer are supported (strokes, geometries, TextBox elements). Other layers are not supported.Recommended to call this API from the plugin UI entered via a lasso toolbar button.
setLassoStrokeLink is a write API. Current plugin APIs do not support setting links to digest links (linkType=6). However, when reading lasso link data, you may encounter links with linkType=6 (digest links).APIResponse<number>:resultis a status code (convention:0success,-1failure,-2target file requires upgrade)