SelectNone()
Summary
Removes all records from a selection set.
Changes
Optional options array added in Version 2019.
Syntax
n_selected = SelectNone(string set_name [, array options])
| Argument | Contents |
|---|---|
| set_name | The name of the selection set |
| Option | Type | Contents |
|---|---|---|
| Display | Boolean | "True" or "False" overriding the current setting; for more information, see SetSelectDisplay() |
| Auto Redraw | Boolean | "True" or "False" overriding the current setting; for more information, see SetSelectAutoRedraw() |
Returns
An integer indicating the number of records in the selection set (always zero).
Notes
The options array is an optional argument.
If the set does not already exist, SelectNone() creates an empty set. If it already exists, the contents of the set are removed.
All selection commands operate on the current layer.
Example
SelectNone("Selection")
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The selection set name is invalid. |
See Also
| Function | Summary |
|---|---|
| SelectAll() | Selects all the records in the current view |