An instance can be materialized out of any output of a factory box, provided this output can return an instance or a list. Creating an instance box is especially significant when done from the "self" outlet of a factory box, which returns the object itself .
There are two types of instance boxes :
![]() | To create an instance box, The corresponding object will appear in the patch editor. |
The resulting box represents a specific object that cannot be reinitialized, but can be used and evaluated again in a patch. This is why this box shows only one "self" outlet. | ![]() |
![]() | The name of the instance box can – and should – be edited. |
Specific procedures allow to modify instance boxes.
An instance derived from a list returns its content when evaluated. | ![]() A list can be used for creating an instance box. |
![]() | Just like any list, it can be connected to other boxes to be manipulated, or to create new objects. |
Instance boxes can be exported out of a factory box via the contextual menu. Ctrl
/ right click on a factory box and choose Export
.
![]() | To import an instance :
Instances can be imported from any location in the user's hard drive. |
Instances are a means to save an object within a patch, where it can possibly be used as a source of data.
Instances can also be used in other patches :
An instance of OM object that has been saved in order to be used in other programs. Global variables are visible from the Library
window and stored as .omi files in the Globals
folder of the workspace.