hm_wadlinessetbumper
Sets the entities for the internal bumper components used for the internal bumper reference line and upper/lower leg grid point generation.
Syntax
hm_wadlinessetbumper entity_type mark_id
Type
HyperMesh Tcl Query Command
Description
Sets the entities for the internal bumper components used for the internal bumper reference line and upper/lower leg grid point generation. Unlike the hm_wadlinessetentities and hm_wadlinessetwipers APIs, using wadlinessetbumper will not reset any stored entities or generated reference lines. This allows you to set the bumper entities at any time during WADLines analysis and be able to extract any data which has already been calculated. This will allow you to reuse these marks if needed.
Inputs
- entity_type
- The entity type denoting the internal bumper. Valid values are elems, surfs and comps (elems take priority over surfs).
- mark_id
- The ID of the mark containing the internal bumper entities. Valid values are 1 and 2.
Example
To setup and extract WAD lines data:
hm_wadlinesinit
hm_wadlinessetparameters 45.0 50.0 100.0 82.5 50.0 20.0 25.0 60.0
hm_wadlinessetaxes 0.0 0.0 182.0 -1.0 0.0 0.0 0.0 -1.0 0.0
hm_createmark components 1 "by id" "100000199 100000200 290000007 410000016 411000016 420000004 420000005 420000006 420000007 420000008 420000009 420000010 420000011 420000012 420000013 420000014 420000015 420000016 420000019 420000020"
hm_createmark components 2 "by id" "100000003 100000010 100000022 100000113"
hm_wadlinessetentities comps 1 comps 2
hm_createmark components 1 "by id" "407000001 407000002"
hm_wadlinessetbumper comps 1
hm_wadlinesgetgridpointsleg 0 100.0 7.0
hm_wadlinesgetgridpointsleg 1 100.0 7.0
hm_wadlinesgetgridpointsleg 0 100.0 8.0
hm_wadlinesgetgridpointsleg 1 100.0 8.0
hm_wadlinesend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0