🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

undohistorystate

User: "Beta"
New Altair Community Member
Updated by Beta

Hi ,

 

I am trying to run a code like this

 *startnotehistorystate {} *replacenodes 7000139 7000103 1 0 *replacenodes 7000140 7000104 1 0 *replacenodes 7000141 7000105 1 0 *replacenodes 7000142 7000106 1 0 *replacenodes 7000143 7000107 1 0 *replacenodes 7000144 7000108 1 0 *endnotehistorystate {}

I use command *undohistorystate to undo the process. However, there is only one node was undo. I would like to undo all six nodes has been replaced. Am I missing something.

 

 

Find more posts tagged with

Sort by:
1 - 12 of 121
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Maybe you have to call '*undohistorystate' several times?

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    I tried, undohistorystate only affected once. nothing happened in the next use.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Don't you provide a name for hist state?

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    I tried to provide name also, but thing happened the same.

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

    Hi Toan,

    For *undohistorystate  please give the count also, and based on this count it undoes one or more history states.

    That is if  three times you have used *replacenodes, then  *undohistorystate 3 which will undo the  3 history states at once. Please try with this.

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    hi,

     

    Thank you for the reply!

     

    I also tried to give the count also. Got the same issue!

     

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    For your information

     

    I also tried to distribute each  *replacenode command into separated notehistorystate  with different names and use *undohistorystate with count 6.  It did not work

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Version Hypermesh?

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    I use 14.2 version

    User: "tinh"
    Altair Community Member
    Updated by tinh

    :D/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />  It has been disabled with tcl scripts. Please check release notes of version 2017

    I don't know how to enable it, maybe v2017 will do that

     

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    I see, Thank you for your information  :))

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

    Hi Toan,

     

    Undo/redo is not yet supported for Tcl even in HM 2017. Commands are available for future use, but they don't work.

     

    Regards,

    Oguchi