hm_idconvertmode

Syntax

hm_idconvertmode flag

Type

HyperMesh Tcl Query

Inputs

flag
1 or 0
0 = strings containing trailing alpha characters (e.g., 001PART) are converted to an ID by *createmark and *appendmark. The default is 0.
1 = the string must not contain alpha characters to be converted to an ID

Example

To put a component with ID 1 on the mark if it exists and 001FRONT does not.

hm_idconvertmode 0
*createmark comps 1 001FRONT
To put a component with name 001FRONT on the mark if it exists.  Otherwise, the mark is empty.
hm_idconvertmode 1
*createmark comps 1 001FRONT

Errors

None.