Adds filter methods: filter, isinstance, hasattr, and the attributes "all" and "first".
Selection.all.some_method() #will apply `some_method` on all selected modules
Selection.first.some_method() #will apply `some_method` on the first selected module
some methods, like configure and `set_input_map exist on the Selection object, and will
apply either all of first depending on the method. However, this syntax allows you to execute
any method as necessary.
filter take name, module as arguments. isinstance and hasattr will check Layer.classtype if necessary and include_layer_classtype is True. So
Adds block methods and improves Selector flexibility
Block methods
Adds block methods for adding and removing modules from a sequential block:
Selector methods
Adds
filter
methods:filter
,isinstance
,hasattr
, and the attributes "all" and "first".some methods, like
configure
and `set_input_map exist on the Selection object, and will apply either all of first depending on the method. However, this syntax allows you to execute any method as necessary.filter
takename
,module
as arguments.isinstance
andhasattr
will checkLayer.classtype
if necessary andinclude_layer_classtype
is True. So