This function retrieves a list of strings of the names of the document feature layers and web feature layers in the drawing.
Syntax
(esri_featurelayer_names)
Arguments
- None.
Example usage
Request a list of feature layers.(esri_featurelayer_names)
Result example usage
Returns a list of web and document feature layers as strings:
("Buildings" "Contours" "Parcels" "Parks" "Spot_Elevation" "Streets")
Return values
- If successful, returns a list of feature layer names.
- If failed, returns a list with the first value of nil and then an associated list containing the key value "Error" and an associated error message as a string: (nil ("Error" . "<message>"))
Failed return values
A failed return value can occur for any of the following reasons:
- (nil ("Error" . "Drawing does not have feature layers."))
No document feature layers or web feature layers found within the drawing.
See Also
(esri_webfeaturelayer_names) | Retrieves a list of web feature layers in the drawing.
(esri_docfeaturelayer_names) | Returns a list of document feature layers in the drawing.