Hello, I’m a Dynamo beginner looking for some help:
I can’t figure out why the FileSystem.GetDirectoryContents node isn’t working for me when I connect it to the DirectoryPath node. (See diagram Below)
The error message reads:
Warning: FileSystem.GetDirectoryContents expects argument type(s) (DirectoryInfo, string, bool) but was called with (string, string, bool).
It seems that FileSystem.GetDirectoryContents expects a variable (maybe?) as input, but DirectoryPath supplies a string, and therefore it doesn’t work. Can I convert the string to a variable so the node will accept it?
I am using Dynamo Core 126.96.36.19926, Dynamo Revit 188.8.131.5233, with Revit 2019.2