Model selection interface from LUA
Terry Vogler
Altair Community Member
Answers
-
Hello @Terry Vogler
I don't think there is a method to grab the current selection like that from the API.A workaround could be to script record (Record Macro action) a 'dummy' action like show/hide for your geometry and mesh elements. Then you can extract the objects you need a handle on.
I normally end up using a more advanced editor like Visual Studio Code to then make multi-line changes or RegEx for search and replace of the 'dummy' action.
Hopefully, that helps...0 -
@David Thanks for the suggestion and work around. I will get to this eventually, and the approach makes sense.
0