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 2.0.2.6826, Dynamo Revit 2.0.2.6833, with Revit 2019.2