Skip to main content

Hi everyone!

I try using AttributeSplitter to split up a file path in all it's folder parts, but the returned list is empty. I have tried to split by '\\', '\\\\' and '/' but with the same result. How do I get this to work?

I want the 6th folder in the path wich can contain 7 or more folders so it doesn't work with FilenamePartExtractor.

I am using Windows. The filepath looks like this '\\\\server.local\\path\\to\\folder1\\folder2\\and\\so\\on\\file.mxd

 

imageimage

On a hunch, can you check in the Feature Information panel whether or not you can see the list?


Thanks for the tip! It helped me to find the error - I used [] instead of {} when exposing the list attributes.

The correct way: _list{3}


Reply