I am trying to get the file path of a loaded dxf/dwg. So far with some good help I have managed to get the file path. However I also want to get as an output the same path but to a folder level (same output but without the file name). How can I do that?
filepath.gh (8.3 KB)