Skip To Content

esri_webfeaturelayer_names (AutoLISP)

Retrieves a list of web feature layer names in the current drawing as a list of strings.

Syntax

(esri_webfeaturelayer_names)

Arguments

None.

Example usage

Requests a list of web feature layers added to the current drawing.

(esri_webfeaturelayer_names)

Result example usage

Returns a list of strings for the web feature layer names found within the current drawing.

("Shelters" "No_Permit" "Has_Permit" "Facilities")

Return values

  • If successful, returns a list of web feature layer names as strings.
  • 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" . "No web feature layers found."))

    The drawing does not contain any web feature layers.

See Also

(esri_docfeaturelayer_names) | Retrieves a list of document feature layers in the drawing.

(esri_docfeaturelayer_names) | Returns a list of document feature layers in the drawing.