Jump to content

Recommended Posts

how to find nearest node in hypermesh. A command or any macro that should search a tolerance of distance like within radius of 30  and then find nodes within that perimeter . lets say, should find nodes adjacent to it.

Share this post


Link to post
Share on other sites

hi johnson and tinh

thank you for the answer. was really grateful.

However, I need a little more favour pls.

As you suggested i was able to create a sphere with a central node. however, i want to add those nodes in the form of temporary nodes because as soon as i turn of elements, the nodes dissapear too.

once i have added the nodes, i want to automate it for n number of nodes. how can i run the process in a loop through a tcl.

 

 

Share this post


Link to post
Share on other sites
Guest

Hi Sonu,

Once the nodes are displayed using *createmark nodes 1 "by sphere" x y z r inside 1 1 .1 option, you can go to Shift + F2 option and directly add those nodes, so that those nodes will be displayed.

Share this post


Link to post
Share on other sites

Hi

I am not sure what you want to do with the nodes

to mark them as temporary

*createmark nodes 1 "by sphere" x y z r inside 1 1 .1

set NodeList [hm_getmark nodes 1]

*nodemarkaddtempmark 1

foreach NodeId $NodeList {

     # do you job with each node here

}

Share this post


Link to post
Share on other sites

Is there any code to select the nodes where two components are intersecting? I tried using hm_getnodessharedbyothercomps but the nodes are not selecting.

 

Thank you in advance for any reply

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