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.
What is the command to show which elements belong to which component
for retrieving a list of elements contained into a component, you could use something like that:
set comp_name "something" ; #assign some name to a component
*createmark elems 1 "by comp name" ${comp_name} ; #selects the elements from the comp_name component and puts in mark #1set elems_list [hm_getmark elems 1] ; #retrieves the list of elems selected in mark #1 and pass it to a list elems_list
*clearmark comps 1 ; #clears selection on mark #1
#...
#do somehthing
for retrieving a list of elements contained into a component, you could use something like that: set comp_name "something" ; #assign some name to a component *createmark elems 1 "by comp name" ${comp_name} ; #selects the elements from the comp_name component and puts in mark #1set elems_list [hm_getmark elems 1] ; #retrieves the list of elems selected in mark #1 and pass it to a list elems_list *clearmark comps 1 ; #clears selection on mark #1 #... #do somehthing
Sir this is like are we setting a component and we are retriving all elemenets of that component. What I want is I select a list of elems through *createmarkpanel elems 1 and hm_getmark elems option and I want to know which component is it part of. Please provide the required code
It is like whatever component i select and delete it should be able to record and print.Hoping for a help at the earliest
*createmarkpanel elems 1 "select your elements"
set elems_list [hm_getmark elems 1]set comps_list [hm_getvalue elems user_ids=$elems_list dataname=component.name]
foreach compo $comps_list {
#do something
}
*createmarkpanel elems 1 "select your elements" set elems_list [hm_getmark elems 1]set comps_list [hm_getvalue elems user_ids=$elems_list dataname=component.name] foreach compo $comps_list { #do something }
Thanks a lot Sir.
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…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…