Merge Components (Tcl command?)
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.
Answers
-
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 ...
0 -
Hi tinh,
Tons of thanks for your valuable comment! very helpful indeed.
Altair Forum User said: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 ...
0 -
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
0 -
Hi
There is no such available function and you can write a tcl proc to do it as above guide or look for the same on script exchange
0