Returns the node ID of the flexible body that is closest to the specified location.
Format
loc_to_flexbody_nodeid (flex_body, location)
Arguments
flex_body | Name of the flexible body. |
location | Three-dimensional vector. |
Example
The following example assigns the node number on flexible body, link, closest to the point located at (10, 20, 30) to the variable .node_id.
var set var=.node_id int=(eval(LOC_TO_FLEXBODY_NODEID(link, {10,20,30})))