The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Is there a Lua scripting method to capture the in-screen selection of geometry or mesh elements?
I'd like to use that selection and only run a script on the selected objects.
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...
@David Thanks for the suggestion and work around. I will get to this eventually, and the approach makes sense.
Join us for a community conversation on accelerating power electronics design, where you'll learn how to leverage the fast simulation capabilities of Simcenter PSIM alongside the powerful design exploration and optimization features of Simcenter HEEDS. In this webinar, we’ll show how engineers can move beyond manual…
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…