|
View your shopping cart.
Recent topics
Recent Comments |
Is this a Bug? Structure To/From File patchesThe .plist file is accurate. The structure output from Structure From File appears out of order? Struct Maker data:
Structure From File outputs:
More like this
|
Yes, this is a bug --- but I think the bug is in the
Struct Makerpatch, not theFilepatches.Structures consist of two types of lists: array or dictionary. Arrays preserve order and use sequential indices starting at zero; dictionaries use arbitrary keys but don't preserve order (not even alphanumeric order). The
Struct Makerpatch is (incorrectly) producing a keyed dictionary, so the order isn't guaranteed upon reading it back in from disk.As a temporary workaround, you can use
Structure Key Memberinstead ofStructure Index Member, and you should get the results you're after.I'm going to try to do an update to StructureTools in the near future, and will address this issue.
I missed this response for some reason. Thanks for that, very helpful.