We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Passing Arrays to Verge3D

Home Forums General Questions Passing Arrays to Verge3D

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23080
    Eugene Zos
    Customer

    I had a look at the documentation section but I couldnt find detailed info about getting arrays from the UI.

    I am passing

    [
    {
    ‘ID’: 1,
    ‘Number’: 1,
    ‘Anchor’: ‘POI_001’,
    ‘Color’: ‘#008000’
    },
    {
    ‘ID’: 2,
    ‘Number’: 2,
    ‘Anchor’: ‘POI_002’,
    ‘Color’: ‘#313295’
    },

    ]

    Right now i am calling a function within Verge3D and I can see that the data is there but I can only see indexes. Loop index also works but I cannot extract the keys. I am not sure wether a LIST or DICTIONARY is an array in the puzzles. Is there any example?

    Thank you! :wacko: :wacko:

    #23082
    Eugene Zos
    Customer

    We switched to CODE as puzzles doing my headin. It’s ok for prototyping and understanding how it all functions. CODE works fine. Cheers.

    #23093

    Hi,

    This JSON data structure is LIST (= Array) of DICTIONARIES (= JavaScript Object).

    Chief 3D Verger | LinkedIn | Twitter

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.