Hello,
I'm trying to find a way to list out, or save to an array, the dimensions in a model that reference specific global variables. I am not very experienced with macros and I'm having a tough time figuring out what parts of the API to look into for this functionality. I'm thinking I could potentially accomplish this by checking the other equations and doing string comparisons, but I'm not sure if that will work. Any tips are appreciated, please ask for clarification if I have been unclear. Thanks!
That's exactly how it would approach it, Nate. Every time you would reference the global variable, it creates an equation. So the list of equations is probably the most direct approach to find them all in one place.