Here I used select file path to import a familytype file into the revit file. The file path turns out to be a decoded string and can not be identified by the 3rd-party clockwork node.
If I input the file path by typing the string of path in a code block then it works out fine.
Ok i’m not even going to pretend i know anything about this, infact it actually looks like
you know more than i do for sure…
But have you tried this caveman solution? where you convert to string only.
Its strange because it was already a string from the File Path node but i dunno.
def convert_to_string(input_list):
if isinstance(input_list, list):
return [convert_to_string(item) for item in input_list]
else:
return str(input_list)
OUT = convert_to_string(IN[0])