LayerGetAllDatasets¶
LayerGetAllDatasets returns the handles of all datasets.
- hvData = LayerGetAllDatasets(hLayer)
- hvData = LayerGetAllDatasets(hLayer, bOnlyVisible)
- hvData = LayerGetAllDatasets(hLayer, bOnlyVisible, ssType)
Return Value
hvData is a vector of handles of all datasets of the layer hLayer.
Parameters
- hLayer
Identifies the layer.
- bOnlyVisible
If bOnlyVisible is TRUE (1) only the visible datasets are returned. See also XYIsVisible or XYZIsVisible. Default value is FALSE (0).
- ssType
If ssType is “OBJ_XYZDATASET” the function returns only 3D datasets. If ssType is “OBJ_XYDATASET” the function returns only 1D and 2D datasets. If ssType is an empty string the function returns all datasets. Default value is “”.
History
Version |
Description |
|---|---|
R2012.10 |
New parameter ssType added. |
4.2.0 |
New parameter bOnlyVisible. |
id-1018135