create_imported_operator(owner, name, path, visibility=VK.PUBLIC, symbol_file=None, state=False)#

Create an imported operator.

The operator has a name.

Parameters:
ownersuite.Package

Owner of the operator, which is either the model itself or a package.

namestr

Name of the operator.

filePath

File defining the imported operator.

pathPath

Path of the file to store the operator. This parameter is optional if the package’s owner is a package. When the path is None and owner is the model, the operator isstored in the model’s default file.

visibilityVK, default: Public

Accessibility of the operator.

symbol_filePath, default: None

Path of the file defining the symbol of the operator.

statebool, default: False

Whether the operator is a node.

Returns:
suite.Operator