As Dan tried to explain, there is no such thing as a “simple command” to get the values. You need to write a complex (but not necessarily complicated) methods, at least a snippet of code or your own plugin (extension).
Even experienced programmers take the time to figure out:
- what is the specific task
- what options need to be considered
- what prerequisites must be met for the existing geometry
- whether it is possible to meet these conditions
- it is possible to consider these conditions at all in the Ruby API
- and so on…
Dan gave a general guide and some examples on how to get started with the task, but is not expected to be “hippie-ready.”
Unfortunately, you need to delve a little deeper into the “mysteries” of Ruby, or ask a programmer to do it for you (most probably for money).
Of course, if you ask specific coding questions here in the forum, we are here to share our ideas and advise.