welcome @JonKeeler ! that’s a nice app you got there! do you do a lot with apps/plugins?
When Delcam had PowerMill back in the good old days I wrote numerous standalone apps, but what bothered me was that the apps were only good for the first running instance, so I really endeavored to make an app that could iterate between instances, I wrote a Model Mover app about 15 years ago, but since Autodesk took over they broke some of the code so that app only half works plus it was only good for the first instance, what you see here is a work in progress. For what I want to do I found restrictions with a plugin.
i think they fixed that problem in the api. that’s why i made a plugin, so i could run in every open instance i had
what restrictions have you run up against in a plugin?
Short answer is writing and reading macros, I just couldn’t get it to work with a plugin, I’m using macros to write the name of the models and levels to a .txt file then read them back into the app.
Gotcha. The way plugins do it is a little different, but you can get a lot of that info direct from the plugin without macros. But it comes down to what works best for you.
One more thing, and this was what Autodesk broke, getting the XY & Z values in the line measure into the textboxes, they changed or got rid of the parameters for these values, now only available with widget names, when I was writing the plugin, I just couldn’t get it to work, so that was one more reason I fell back on a standalone, using macros.