concatenate two vectors

Dear all,

i would like to concatenate several (or two) vectors to one single vector. How can this be done? Is there a function for this?

Alternatively i would like to find the maximum value of several vectors. I tried
max(max(List1()),max(List2()));
but this does not work.

How can i systematically find this information in the reference manual?

Thanks,

Thomaz

Hi Thomaz,

  1. For your specific problem, you can use ‘arrcat()’ function.
    In the ‘C:\Program Files (x86)\AnyBody Technology\AnyBody.5.1\Documentation\AnyScriptReference\demo\ClassExamples’ folder,
    there is ‘AnyFunInit.any’ file which contains the example of this arrcat() function.

  2. As you can see the first attached capture image, there is the ‘Function Classes’ chapter in the reference manual.
    Here you can find some necessary information.

  3. As in the second attached capture image, in an Editor Window of AnyBody Modeling System,
    if you can click the ‘Functions’ tab at left side,
    then you can see the list of the global function names that you can use in AnyScript.
    For me, I prefer to this way.

I hope this may help you.

Best regards,
Moonki

Thanks a lot.
(The problem is to know which word to search for.)

And the answer to the 2nd question are brackets {}:
max({max(List1()),max(List2())});