Replace nodes through macro

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

How I can replace nodes through macro.

I tried all possible ways to supress 'yes no message'

Below is script I am trying. The required function is 'if Element is destroying, let it.'

*createmarkpanel nodes 1 'sdgsdg'

set n1 [hm_getmark nodes 1]

*createmarkpanel nodes 1 'sdgsdg'

set n2 [hm_getmark nodes 1]

hm_answernext 'yes';

*replacenodes $n1 $n2 1 0;

*answer yes;

hm_answernext yes;

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Do anybody knows?

    Even support is also not replying. I think it is not comes under support.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi Rahul,

    For replacing nodes u need to use list option instead of mark option....

    *createlistpanel & hm_getlist commands should b used....

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi Selva,

    Thanks for solutions but it is not working.

    I want to supress the 'Replacing this node will destroy an element. Do you wish to continue?' message.

    Thanks again...