-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamo 2.0 Dictionary watch window beneath ZT nodes doesn't display #8885
Comments
@aparajit-pratap was this fixed? |
@ThomasMahon is it possible to test on the latest daily build? |
@mjkkirschner unfortunately its still not working on the latest daily: |
@ThomasMahon can you show an image of the data from both keys of the dictionary? |
also @ThomasMahon just curious if you see this with your own nodes only or other ZT nodes as well? I feel like Déjà vu. |
@mjkkirschner no nested dictionaries, 2D list of curves, and 1D list of strings. Maybe its caused by using generic types in the dictionary declaration due to the mixed return types, given that the OOTB node shown above is working? |
@ThomasMahon tough to say without the source for the nodes - but can you try removing the nested generics so type your dictionary <string,object> and then also or in another experiment remove the |
@mjkkirschner quick test (simply returns whats input via a dict), and it looks like the culprit is the [] brackets in the outport names: I'm a bit of a perfectionist, so I would be a bit disheartened if I have to remove this notation given how useful it is to 'initiated' users (plus, it should be a convention, which I believe is already in use with most OOTB nodes). What causes the problem out of interest? |
@ThomasMahon I don't see there's a problem with |
@aparajit-pratap So the only difference I can see is no type declaration when I instantiate the list of inputs for the MultiReturn attribute: I went ahead and tested the node using Here's the code:
Also, why do the first set of square brackets not show on the outport? |
...maybe its my XML tags? |
@ThomasMahon could you also share how you rewrote your xml tags in order to get it to work? @mjkkirschner this looks like a bug to me. It seems that the xml tags conflict with the multi-return attribute in terms of port naming and since the node preview for multi-return nodes depends on port names, the preview is messed up as well. I think it should be ok to expect the multi-return attribute to match with the keys but it's a bit too much to expect the xml tags to match with everything else too. I think we should therefore make an exception for multi-return nodes and ignore the presence of xml tags in determining their port names. Thoughts? |
@aparajit-pratap sure:
I'll reopen this for the time being. If this change isn't a bug, its quite a punitive one; previous versions of Dynamo didn't enforce it as you mentioned. |
@jnealb could you log this as a bug? The basic issue is that the xml tags conflict with the multi-return attributes for port naming. I think we should ignore the presence of xml tags in determining port names for multi-return nodes as those are already determined by the attributes. |
@aparajit-pratap This is filed as QNTM-4403, please update with details if necessary. |
Dynamo version
Operating system
Win 10
What did you do?
Dictionary watch window doesn't display beneath a node.
Seems to only be affecting either ZT nodes, or generic dictionaries:
The text was updated successfully, but these errors were encountered: