tcl: how to choose the last several nodes created?
Dear members,
I want to choose a node list which is used to create a line. I tried:
hm_createmark nodes 1 '-1 -2 -3 -4'
*linecreatefromnodes 1 0 150 5 179
I got a error message:
0
0
while executing
'*linecreatefromnodes 1 0 150 5 179 '
(file 'C:/soft/hyperworks/tcl/test_surfid.tcl' line 692)
invoked from within
'source {C:/soft/hyperworks/tcl/test_surfid.tcl}'
('uplevel' body line 1)
invoked from within
'uplevel #0 'source {$file}''
(procedure '::HM_Framework:/emoticons/default_tongue.png' alt=':P' srcset='/emoticons/tongue@2x.png 2x' width='20' height='20'>_FileLoad' line 49)
invoked from within
'::HM_Framework:/emoticons/default_tongue.png' alt=':P' srcset='/emoticons/tongue@2x.png 2x' width='20' height='20'>_FileLoad 24'
(menu invoke)
and I got same error message when I use '*createlist nodes 1 '-1 -2 -3 -4' '.
Does anyone know how to choose the last several nodes created?
Thanks a lot!
Answers
-
I use hm_createmark nodes 1 '-1 -2 -3 -4' and it works without any problem.
0