Class

DuAELayerPickerDialog

DuAELayerPickerDialog()

For use with DuScriptUI.
A picker for layers with labels.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.layerPickerDialog to create a picker.
The picker inherits the Group object from ScriptUI and has all of its properties and methods.
Constructor

# new DuAELayerPickerDialog()

Properties:
Name Type Description
layerPicker DuAELayerPicker The layer picker inside the dialog.
accepted bool This property is true if the user has clicked the OK button, false otherwise.

View Source DuAEF_DuSan_api.jsxinc, line 16646

Methods

# static addSelector() → {DuAELayerSelector}

Adds a new line on the DuAELayerPicker This is a convenience function equivalent to DuAELayerPickerDialog.layerPicker.addSelector.

View Source DuAEF_DuSan_api.jsxinc, line 16667

The added DuAELayerSelector

# static getLayers() → {Array.<Layer>}

Gets the layers picked by the user.

View Source DuAEF_DuSan_api.jsxinc, line 16676

The layers picked (null if the user has set none in the selector), in the display order.
Array.<Layer>

# static removeAll()

Empties the DuAELayerPicker
This is a convenience function equivalent to DuAELayerPickerDialog.layerPicker.removeAll.

View Source DuAEF_DuSan_api.jsxinc, line 16659

Type Definitions

# onAccept()

The function called when the dialog is accepted.

View Source DuAEF_DuSan_api.jsxinc, line 16684