Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot iterate over all_tilesets property #36

Open
47rooks opened this issue Aug 8, 2024 · 0 comments
Open

Cannot iterate over all_tilesets property #36

47rooks opened this issue Aug 8, 2024 · 0 comments

Comments

@47rooks
Copy link

47rooks commented Aug 8, 2024

ldtk version : git version as at 22d7ee2 Jan 22, 2024

I cannot find out how to iterate the list array of tilesets. The way the macro processing works I end up with _ldtkProject.all_tilesets.Shell0 but no iteration ability. This means that when I'm trying to write a general helper function it's tied to this specific project or I have to extract the tileset id in project specific code and pass it to the helper function.

Is there any way around this or could iterators be added to these objects ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant