Jump to content
mjagdishwar

Find angle between 3 nodes using TCL

Recommended Posts

4 hours ago, tinh said:

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)?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...