Jump to content
Mubeen

Merge Components (Tcl command?)

Recommended Posts

Hi all,


I am searching for an easy way to merge multiple component into a single component. I have already done some preliminary search but found nothing about merging components.


For example:


I have a .hm file with 3 components, each containing different type of entities (e.g. nodes, elements, solids, surfaces, points etc.), all I want is to have a tcl command that moves all entities in these existing components into a new component, and delete all previous components. I went through the documentation of scripts (Tcl modify commands) and found nothing directly helpful for this purpose.


 


Experienced/knowledgeable users of HyperMesh, please help.


 


Best regards,


Mubeen.


Share this post


Link to post
Share on other sites

Hi,


This is a way to find objective tcl commands


delete your command.cmf file


create a new component


F11 move elems, surfs, points to the created component


F2 delete empty components


 


Now open your command.cmf, you will see the tcl commands for your task


*collectorcreateonly ...


*createmark ...


*movemark ...


*deletemark ...


Mubeen likes this

Share this post


Link to post
Share on other sites

Hi tinh,


Tons of thanks for your valuable comment! very helpful indeed.


 




Hi,


This is a way to find objective tcl commands


delete your command.cmf file


create a new component


F11 move elems, surfs, points to the created component


F2 delete empty components


 


Now open your command.cmf, you will see the tcl commands for your task


*collectorcreateonly ...


*createmark ...


*movemark ...


*deletemark ...



Share this post


Link to post
Share on other sites

Hi @Tinh,

i was wondering, is there a function to merge two components, given the component names, say tangent to each other. 

If that were possible, what would be the keywords used?

 

please let me know,

 

Thanks and regards,

Arjun 

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