hm_wadlinescheckentities
Checks front and rear entities for validity.
Syntax
hm_wadlinescheckentities
Type
HyperMesh Tcl Query Command
Description
Checks front and rear entities for validity. This must be preceded by a call to hm_wadlinessetentities.
If entities are valid, 0 is returned. If any front entities are in the rear group, or vice versa, non-zero is returned.
Example
To setup and check WAD lines data:
hm_wadlinesinit
hm_wadlinessetparameters 45.0 50.0 100.0 100.0 50.0 20.0 25.0 60.0
hm_wadlinessetaxes 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 0.0
*createmark comps 1 "bonnet" "bumper" "fenderL" "fenderR"
*createmark comps 2 "windshield" "a-pillars"
hm_wadlinessetentities comps 1 comps 2
if {[hm_wadlinescheckentities] == 0} {
puts "Entities are valid."
}
hm_wadlinesend
Errors
None.
Version History
13.0.110