Streamline icon indicating copy to clipboard operation
Streamline copied to clipboard

[NIS] Setting options through slEvaluateFeature doesn't work.

Open Bizzarrus opened this issue 1 year ago • 1 comments

The docs state

NIS options must be set so that the NIS plugin can track any changes made by the user. This can be done explicitly using the slNISSetOptions or implicitly by adding options as part of the slEvaluateFeature call

However, adding the options as part of the slEvaluateFeature call doesn't seem to work at all - no change in options apply and if slNISSetOptions is never called, the slEvaluateFeature fails with eErrorMissingConstants.

Repro: Simply pass the desired NIS options through the inputs of the slEvaluateFeature call instead of calling slNISSetOptions, and remove any call to slNISSetOptions, then try to use NIS in the program.

Bizzarrus avatar Mar 05 '24 01:03 Bizzarrus

Thanks for bringing this to our attention.

This is an outdated blurb from previous SL versions. Currently only certain options (e.g. viewport) can be set via slEvaluateFeature. Please use slNISSetOptions to set NIS options.

jake-nv avatar Mar 05 '24 21:03 jake-nv