DK for Python | tatukgis_pdk.IGIS_HierarchyManager | Classes | Methods | Properties
Hierarchy manager class.
The hierarchy data contain a hierarchy list and additional hierarchy groups that are saved in a project file under [TatukGIS Hierarchy] and [TatukGIS GroupN] sections.
The hierarchy list section has a format like:
# Python class IGIS_HierarchyManager:
Name | Visibility | Description | |
---|---|---|---|
AddGroup | public | Add existing group to another group. | |
AddLayer | public | Add a layer to groups. | |
AddOtherLayers | public | Add layers from the viewer (not used in the hierarchy list) to the hierarchy. | |
ClearGroups | public | Delete all groups. | |
CreateGroup | public | Create a group. | |
DeleteGroup | public | Delete group with sub groups. | |
DeleteLayer | public | Delete layer from groups. | |
GetGroups | public | Get aliases list. | |
GetHierarchy | public | Get hierarchy list. | |
InsertGroup | public | Add existing group to another group at indexed position. | |
InsertLayer | public | Add a layer to groups. | |
LoadHierarchy | public | Load hierarchy from config. | |
MoveGroup | public | Move group to another group. | |
MoveGroupEx | public | Move group to another group. | |
MoveLayer | public | Move a layer from a group to another. | |
ParseHierarchy(str) | public | Parse hierarchy list and build groups with layers. | |
ParseHierarchy(TGIS_StringList, TGIS_ConfigFormat) | public | Parse hierarchy list and build groups with layers. | |
Name | Visibility | Description | |
---|---|---|---|
Groups | public | Get group by name. | |
GroupsCount | public | Groups count. | |
IsModified | public | Is hierarchy modified. | |