This function returns the names of field domains defined in the drawing as a list of strings.
Syntax
(esri_domain_names)
Arguments
- None
Example usage
Attempt to get a list of all the field domain names defined in the drawing.(esri_domain_names)
Result example usage
Returns a list of all the field domain names defined in the drawing.
("Height" "Treatment" "UtilityPoles_TypeDomain" "YesNo")
Return values
The following are the possible return values:
- If successful, returns the field domains defined in the drawing as a list of strings.
- If failed, it 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
Failed return values can occur for any of the following reasons:
- (nil ("Error" . "No domains found"))
The specified field domain name was not found in the drawing.
- (nil ("Error" . "Missing required argument"))
The incorrect number of arguments were passed to the function.
See also
esri_domain_get | This function returns the properties of a named field domain as an associated list.
esri_domain_values_get | This function gets the values associated with a named field domain as an associated list.