Need help using getToolList function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to edit my post so that I can put more tool data in the tool list at the start of the program. Every post uses getToolTable, but the documentation says that this is deprecated and I should use getToolList. Get tool list seems to output an array of objects in the format { tool:{}, operations:{}, range: {}}. Is there a way for me to export this data as a JSON so that I can look at how to access and manipulate it? I am having issues getting the tool type. I want to display different info based on the tool type, but it's not working. getToolTypeName is the function used to get a readable tool type name, but this is coming up as undefined for every tool and the tool types are not being recognized. I just need to know how this data is stored but I don't have a way of looking at it. Any help is appreciated.
Below is my code for reference:
