Glyph Version 7.22.2 |
pw:: LayerGlobal actions for layers Summary
getCount
This action gets the number of layers. ParametersNone ReturnsThis action returns the integer number of layers. getLayerEntityCounts
This action gets the number of entities in a layer. Parameters
ReturnsThis action returns a list of integers giving the number of entities in the layer. InformationThe list of integers represent the count of the entities in the layer in the following order: blocks, domains, connectors, database and source entities. getLayerEntities
This action returns the entities in a layer. Parameters
ReturnsThis action returns a list of pw::GridEntity, pw::DatabaseEntity and pw::SourceEntity objects in the layer. move
This action moves the given source list of layers into the given target list of layers. If the source list is longer than the target list, additional source layers will be moved into the last target layer. Parameters
ReturnsThis action returns nothing. getStateCount
This action gets the number of saved states. ParametersNone ReturnsThis action returns the integer number of saved states. saveState
This action saves the layer visibility state of the curent display. Parameters
ReturnsThis action returns nothing. restoreState
This action restores the layer visibility state to the curent display. Parameters
ReturnsThis action returns nothing. removeState
This action removes the save state from the list of saved states. Parameters
ReturnsThis action returns nothing. |
This action gets the number of layers.
pw::Layer getCount
This action gets a layer’s description.
pw::Layer getDescription number
This action sets a layer’s description.
pw::Layer setDescription number description
This action gets the number of entities in a layer.
pw::Layer getLayerEntityCounts ?-enabled enabledVar? ?-disabled disabledVar? number
This action returns the entities in a layer.
pw::Layer getLayerEntities ?-type type_string? number
This action moves the given source list of layers into the given target list of layers.
pw::Layer move ?-description? ?-visibility? source_list target_list
This action gets the number of saved states.
pw::Layer getStateCount
This action gets the name of the given saved state.
pw::Layer getState index
This action gets the current layer of the given saved state.
pw::Layer getStateCurrentLayer name
This action gets the number of shown layers of the given saved state.
pw::Layer getStateShownCount name
This action gets the number of hidden layers of the given saved state.
pw::Layer getStateHiddenCount name
This action saves the layer visibility state of the curent display.
pw::Layer saveState ?name?
This action restores the layer visibility state to the curent display.
pw::Layer restoreState name
This action removes the save state from the list of saved states.
pw::Layer removeState name
This action renames the save state.
pw::Layer renameState old_name new_name