tcl: how to choose the last several nodes created?

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

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:image/emoticons/default_tongue.png' alt=':P' srcset='/emoticons/tongue@2x.png 2x' width='20' height='20'>_FileLoad' line 49)

invoked from within

'::HM_Framework:image/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!

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2011

    I use hm_createmark nodes 1 '-1 -2 -3 -4' and it works without any problem.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.