LayerType¶
-
class
LayerType
(accept_multiple=False, accept_new=False)¶ Interpret value of --layer options.
If accept_multiple == True, comma-separated array of int is accepted or ‘all’. Returns either a list of IDs or LayerType.ALL.
If accept_new == True, ‘new’ is also accepted, in which case returns LayerType.NEW.
None is passed through, which typically means to use the default behaviour.
Methods
Initialize self.
Attributes