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.

Creating List of Dictionaries

Home Forums Puzzles Creating List of Dictionaries

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55029
    junglist
    Participant

    Hello, I was wondering why I can’t create a list of dictionary values.

    When try to add existing dictionary to a list -> List prints out last dictionary value, for all index values.

    Attachments:
    You must be logged in to view attached files.
    #55032

    Hi, you need to place “create empty dict” block inside the loop. Currently, you just set key/values for the same dictionary which is added to the list multiple times.

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #55037
    junglist
    Participant

    Thank you, that fixed the issue. :good:

    #55040
    kdv77kdv
    Participant

    You’d better not use all objects as a target to get all meshes. Use Scene that contains all abjects.

    #55043
    junglist
    Participant

    Thank you, that’s a good advice. :good:

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