Python error: "expected date time, got date time",

Hi I’m trying to use Dimitar code example to access sun settings in Revit, but I have a similar problem like here: Python Error: Expected Document, Got Document
But its still no idea whats wrong.

Can’t seem to replicate your error.
Seems to work for me. What version are you using?
Also your input into IN[0] needs to be a list. (in line 25 your are looping over it)

@2shy Please post your dyn

1 Like

Im using Revit 2019 and dynamo 2.0.1
Tried add list create node but still the same outcome. Here is my dyn file: solar analysys 2.0.dyn (22.4 KB)

@2shy Can you use a date time node instead?