Solved

AttributeSplitter doesn't work on filepath?

  • 29 December 2022
  • 2 replies
  • 14 views

Badge +6

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

icon

Best answer by asablomberg 29 December 2022, 13:30

View original

2 replies

Userlevel 5
Badge +25

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

Badge +6

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