csc.layers.Folder¶
- class csc.layers.Folder¶
Folder class
Implements the parent folder properties of children layers and sub folders items
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)child_by_id
(self, id)-> ItemId
child_by_pos
(self, pos)pos : int -> ItemId
child_pos
(self, id)id : ItemId | -> int
children_cnt
(self)-> int
children_ids
(self)-> ItemId[]
children_ordered
(self)-> ItemId[]
has_child
(self, id)is_empty
(self)Attributes
-> Header
- __init__(*args, **kwargs)¶
- __module__ = 'csc.layers'¶
- child_by_id(self: csc.layers.Folder, id: csc.Guid) csc.Guid ¶
-> ItemId
- child_by_pos(self: csc.layers.Folder, pos: int) csc.Guid ¶
pos : int -> ItemId
- child_pos(self: csc.layers.Folder, id: csc.Guid) int ¶
id : ItemId | -> int
- children_cnt(self: csc.layers.Folder) int ¶
-> int
- children_ids(self: csc.layers.Folder) List[csc.Guid] ¶
-> ItemId[]
- children_ordered(self: csc.layers.Folder) List[csc.Guid] ¶
-> ItemId[]
- has_child(self: csc.layers.Folder, id: csc.Guid) bool ¶
- property header¶
-> Header
- is_empty(self: csc.layers.Folder) bool ¶