Jump to content
Prabhu

Node renumbering using commands

Recommended Posts

Dear all,

the following image is an example.

In the following image, i would like to re-number the node number 13 to 113.

I am able to do it using the manual options available under tools option.

But i would like to re-number using commands or tcl scripts.

 

image.png.87a4d7c1fdbca7ec32db91a0a09a0208.png

 

Thanks & Regards,

Prabhu p

Share this post


Link to post
Share on other sites

hi,

 

Try these commands : 

*createmark nodes 1 "dispalyed"

*renumbersolverid nodes 1 1000 1 0 0 0 0 0.

 

These commands will renumber ids of all displayed nodes, start from 1000 and increase by 1.

 

You can get more detail about commands in the Help file.

 

One more thing, next time, if you want to know a command to do a thing in HM, you can follow this method:

- Go to the working directory  (usually the Document folder), delete file name command.tcl.

- Perform the action you wish to know its command in Tcl.

- Go back to the working directory folder and open file named command.tcl

 

The command you need will be written in this file.

 

 

 

pohan and Prabhu like this

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...