I'm trying to update a drag-and-drop python script I made for importing fbx and obj nodes in Houdini 17, that stopped working after I upgraded to Houdini 18.
So far, I've found, that part of the problem is, that the basic input seems to have changed.
Previously, when I executed the code:
I got a string, that represented the file path.
def dropAccept(filelist): for file in filelist: print (str(file))
Now, the path string has the prefix: file:///
Is there a reason for this? Should I just remove the first 8 characters of the string, to get the file node to work, or is there a smarter way to do this?
Thanks in advance.