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.
.
You need to understand first of all the hierarchy for HW Desktop scripts. (Check HWDesktop reference guides in help)
Every control is embed in its own level.
Page related commands are tied into the Page Handle.
Window related commands are tied into the Client Handle.
I'm far from the computer, but it would be something like this:
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj ; #can't remember if proj comes before sess..maybe needs to change
proj GetPageHandle pag1 1
pag1 SetLayout 2; #need to check the command and code for 2 windows in this page
pag1 GetWindowHandle p1w1 1
p1w1 SetClientType 'pre'; #dont remember the exact command but it should be inside the page handle and need to check if it is 'pre' for HM or 'model'
pag1 GetWindowHandle p1w2 2
p1w2 SetClientType 'post'
..
hwi CloseStack
Maybe these are not the exact commands, but it is almost like this.
Thank you Adriano
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…
Join us for a community conversation to explore how different modeling approaches in Simcenter PSIM can help engineers simulate power electronics systems while balancing accuracy, simulation speed, and design insight. What you'll learn: Power transistor modeling : Thermal and high fidelity models Protection component…