DataShape


image
hey @all,
i have the “problem” of unnecessary character in the data-shape node.
does someone knows where this come from?

Hi, @kevin.scholtyssekM76

Please flatten that list and it should work fine if that’s the only concern you have.
As it seem to be nested list and also the reason for square brackets

Regards,
BM

1 Like

By Flatten the list this issue appears…

{
User Inputs: Traceback (most recent call last):
File “”, line 2682, in
File “”, line 2332, in addinput
File “”, line 24, in keys
TypeError: Das Objekt des Typs “System.String” kann nicht in Typ “System.Collections.Generic.Dictionary`2[System.Object,System.Object]” umgewandelt werden.
,
Was Run: error,
Was Cancelled: error
}

and later on something like this appears…
image
the second value should be “Ausführungsplanung” :smiley:

image
You need a list.flatten and list.clean there probably. Unless you’re supposed to be able to click on White Space nodes.

As for your second question
It might not be able to use such illegal characters, try and replace your strings with this:
image

image
the empty value comes from the “???” in the listing of the sheets.
So yeah i guess its a problem with the illegal character.

but list.flatten/list.clean and just taking values with readable characters does not solve the [‘x’] Problem.
Is it maybe because i am referring to a sheet view (where the sheet hosts a view)?
when i am using the script to filter only after views, there are no problems with the text in it…

oh and sorry this is the right screenshot of the situation
image

Seems like it is more a User problem than a Dynamo problem :wink:

If you can share your entire script then we can take a look and offer advise on circumventing such occassions

script_dynamo_forum.dyn (194.3 KB)
yes, sure here it is… :slight_smile: