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.
Hello Friends,
I want to find out angle between 3 nodes using TCL, can you please help me out. Thanks in advance.
Maybe ::hwat::math::AngleBetweenVectors can help you ? See my screenshot.
<?xml version="1.0" encoding="UTF-8"?>
Hi ARJUN,
In HM14, use this command:
hm_getangle nodes $NodeId1 $NodeId2 $NodeId3
If you cannot register as a member, contact to administrators please
Hi ARJUN, In HM14, use this command: hm_getangle nodes $NodeId1 $NodeId2 $NodeId3 If you cannot register as a member, contact to administrators please
Can i Use the same code for HM version 12 too?
Is there a code to open file(.inp) location via directories specified by the user? (to take in the directory as a string and pass it on to a pointer to locate it)
Also how to enter the contents (node co ordintes, distances, and angle) into a excel sheet, whose directory is given by the user(as it changes time to time)?
Yes, the code is available in HM12 also
To open/import file, you delete .../documents/command.cmf
import the file by menu File>Import
then turn back to open command.cmf (by notepad for example), you will see relevant commands
to put the contents into excel sheet, you can write it to a csv file , please refer to tcl manual online for commands: open, puts, join, close.
Sample codes appear on web very much, you can find
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…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
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…