Hello everyone. I’m new to dynamo. And am also just learning. I have checked other script and tried to create my own. Hoping anyone can help me fix the problem.
What I intended to do is create a sheet and place the views in it using excel and dynamo.
I have run the script and this is the output its given me.
Name cannot contain any of the following characters:
\ : { } | ; < > ? ` ~
or any of the non-printable characters.
What is the data into sheet name and sheet number? Pinning open the previews for those nodes and exporting an image of your canvas after zooming in should help illustrate that.
The error indicates one of those un-permitted characters is being used for one of those inputs.
Yep - that Python isn’t just converting it to a string, but it’s converting the list of numbers to a single string with a ; character in between each value. As a result you’re feeding the ; into the the sheet number field, which isn’t supported.
Discard that Python and use a String.FromObject node, or just a code block (double click) and type sheetNumber = ""+numbers; and wire the results of the List.GetItemAtIndex node.