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.
I would like to make a script loop script for Yes or no to repeat the action. Please help me out
Could you describe namely?
if i hit the yes button the process could be done and it should ask again for yes or no..
What is it used for?
its for previewing an empty entity and to delete it
Why dont shift F2 to preview emptied and delete?
ya you are right, but i am planning to create a script for delete them all in on shot with empty sub assemblies
Try
while {[eval *EntityPreviewEmpty assems 1; hm_marklength assems 1]} {*deletemark assems 1}
Try while {[eval *EntityPreviewEmpty assems 1; hm_marklength assems 1]} {*deletemark assems 1}
hi friend,
i have done my script with my knowledge to delete the empty assemblies with sub assems
proc empty_assembly {} { while 1 { *EntityPreviewEmpty assemblies 1 set emptyassems [hm_getmark assemblies 1] if {[llength $emptyassems] ==0} {tk_messageBox message 'empty assems are deleted' return } *deletemark assemblies 1 } }
empty_assembly
thanks for your guidance,
MEIYARASU19
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…