Retrieves the document feature layer names in the current drawing as a list of strings.
Syntax
(esri_docfeaturelayer_names)
Arguments
None.
Example usage
Request a list of document feature layers.(esri_docfeaturelayer_names)
Result example usage
Returns a list of document feature layers as strings:
("Buildings" "Contours" "Parcels" "Parks" "Spot_Elevation" "Streets")
Return values
- If successful, returns a list of document 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_featurelayer_names) | Returns a list of document feature and web feature layers in the drawing.