You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, model collections like Patterns, ChannelRack, Arrangements, Mixer, Insert and so on implement __getitem__ to allow passing an index of the model.
This works, but has little value practically speaking. Nobody remembers the index of the pattern or much less of a channel.
Models have a name property which can be used as a parameter for the __getitem__ method. Once that is done,
project.arrangements["arrangement_name"] # returns an Arrangement with that name
The text was updated successfully, but these errors were encountered:
Currently, model collections like
Patterns
,ChannelRack
,Arrangements
,Mixer
,Insert
and so on implement__getitem__
to allow passing an index of the model.Example:
This works, but has little value practically speaking. Nobody remembers the index of the pattern or much less of a channel.
Models have a
name
property which can be used as a parameter for the__getitem__
method. Once that is done,The text was updated successfully, but these errors were encountered: