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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #55029
    junglist
    Customer

    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.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #55037
    junglist
    Customer

    Thank you, that fixed the issue. :good:

    #55040
    kdv
    Participant

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

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #55043
    junglist
    Customer

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

    #70765
    c4cc
    Participant

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

    Sorry for a late reply to an old thread, but can anyone answer this about lists and dicts please?

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