TrialException

TrialException class

This is raised in Scene.Open/Scene.Save when no licenses are applied. You can turn off this exception by setting SuppressTrialException to true.

Methods

constructor

NameDescription
constructor(msg)Constructor of TrialException

Parameters:

NameTypeDescription
msStringnull

Result:


getSuppressTrialException

NameDescription
getSuppressTrialException()Sets this to true to suppress trial exception for unlicensed usage, but the restrictions will not be lifted. In order to lift the restrictions, please use a proper license. And sets this to true also means you’re aware of the unlicensed restrictions.

Result:


setSuppressTrialException

NameDescription
setSuppressTrialException(value)Sets this to true to suppress trial exception for unlicensed usage, but the restrictions will not be lifted. In order to lift the restrictions, please use a proper license. And sets this to true also means you’re aware of the unlicensed restrictions.

Result: