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.
hi,
I have a set of nodes .I have to find the elements attached to that.
And store it in a variable.
Can anyone tell how to use *findmark for this.
Thanks,
Mahes
Hello Mahes,
#put all node Ids in a mark:
*createmark nodes 1 5000 285201 285459 286047 286925 286926 286929 286930 286932
#All elements attached to nodes, saved in Node Mark 1, will be saved in Elements Mark 2:
*findmark nodes 1 257 1 elements 0 2
#to set it in a variable
set elementIDS [hm_getmark elements 2]
puts $elementIDS
Please refer *findmark documentation for more details :http://www.altairhyperworks.com/hwhelp/Altair/2017/help/hm_ref_guide/topics/reference/hm/_findmark.htm
hi livillyle,
Thanks ....
Hi,
another way is to use *createmark directly, like this:
eval *createmark elems 1 {'by node'} 5000 285201 285459 286047 286925 286926 286929 286930 286932
set ElemList [hm_getmark elems 1]
#puts $ElemList
Thanks Super tinh.
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…