HM Automation
Hi,
I am writing script in hypermesh tcl command to create 3D meshing. for these i not understand what the numbers mention here (8,0).
it is working in HM_13 and not in 14
*solidmap_prepare_usrdataptr 'SOURCE' 8
*solid_prepare_entitylst elements 0
Let me help to solve the issue.
Thanks,
C.Jude Antro
Answers
-
Hi Jude,
For *solidmap_prepare_usrdataptr 'SOURCE' option is a flag that indicate different option for solid mapping. Based on nodes or lines or surface or elements selected for solid mapping this value is calculated.
<?xml version="1.0" encoding="UTF-8"?>
For *solid_prepare_entitylst 0 has to be kept and it is reserved for future use.
0 -
Hi George,
Thanks for your reply,
I have one more clarification, i have to select the outer most element in a selected component how can we select it through TCL script.
I tried to get by element id but the number are not in order if i renumber also not work, how can i choose the outer element.
Thanks
C.Jude Antro
0 -
Altair Forum User said:
Hi George,
Thanks for your reply,
I have one more clarification, i have to select the outer most element in a selected component how can we select it through TCL script.
I tried to get by element id but the number are not in order if i renumber also not work, how can i choose the outer element.
You can't do that selection by elem ID.
Here's my method:
- Select 3D elems => Extract 2D faces (new component ^faces)
- Select 2D faces => elems => by adjacent => remove ^faces from selection => Got elems (see screenshot)
Based on my method, you can write a TCL script for that.
0 -
@jude Antro
please try this:
*createmarkpanel comps 1 ' Select the component '
*findfaces comps 1;*createmark elems 1 'by comp name' ^faces;
eval *createmark elems 2 [hm_getmark elems 1]
*appendmark elems 1 'by adjacent'
*markdifference elems 1 elems 2set outer_elems [hm_getmark elems 1]
0