I have one field group called "Fields of Artistas" link to a CPT "artista". In this field group i have i field called "procedencia-artista". There is a select field with 3 items. I send you in attached file the description of this field in Toolset.
I want to show in one php page this items but i don´t want copy the values in a select tag of html.
I want to retrieve this values from toolset api or similar php function. As a result if a change the items of group i can show this changes in my php page doing nothing.
If you have a select custom field with several values, and then you publish posts which use this field, then when you view the post where you have inserted the custom field it will display the value as text (not as a select box).
What is that you want? To be able to display all the possible values from such a field on a page somewhere that is independent of the posts that use this field?
I try to explain better. I want to show the "procedencia-artista" values (Internacional, Nacional, Galicia) in a html select field. I want to know if it is possible retrieve this values from Toolset and show them in html page using php function by Toolset API. I want to use this select field to make a filter by "procedencia" in the web site.
So you could use get_option to retrieve the option and then extract the data you require (the titles of the options) and use that to build your own select box and echo that (or return it from a custom shortcode).
There is no API for this, it is not an expected use, but the data is there in the database if you want to reference it.
What I'm not clear about from your answer is where you say " I want to use this select field to make a filter by "procedencia" in the web site". Not a Views filter, right? You would just insert that in the filter editor of your View.