🎉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

HM command recorder

User: "pohan"
Altair Community Member
Updated by pohan

Hello

 I tried to use the hm_command_recorder.tlc (please see attached file) file but it did no work because as the video it need the command.cmf file but as far as I know from version 14 this file is not exist. Could you please give me some suggestions.

Unable to find an attachment - read this blog

Find more posts tagged with

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

    Which version of Hypermesh do you use?

    'command.cmf' is OLD release.

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

    I don't think command recorder is anymore needed. For Altair Hypermesh 14 and above command.tcl saved in working directory (mostly in Documents) does the needed job. 

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Which version of Hypermesh do you use?

    'command.cmf' is OLD release.

    HI

    I use version 2017

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    I don't think command recorder is anymore needed. For Altair Hypermesh 14 and above command.tcl saved in working directory (mostly in Documents) does the needed job. 

    Hello

    Could u please tell me more about that! Does it means every command in HM saved after we save that file?

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

    Hello

    Could u please tell me more about that! Does it means every command in HM saved after we save that file?

     

    Hi, 
    It keeps a track of all the operations you're doing in HM. It saves automatically in background. 

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Thank you Livil Lyle

    In my opinion, sometimes if we want to focus on some specific commands may be command recorder is better.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    It is not a problem with me. I usually delete command.cmf before I focus on a certain command.

    the recorder is actually unnecessary

    if i want to track it, I will set a tracer

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Hello

    I create my first tcl/tk script file with the syntax like that

     *startnotehistorystate {Deleted Components} *createmark components 1 ' RW_left' ' RW_right' 'Compresseur' *clearmark components 1 *createmark components 1 ' RW_left' ' RW_right' 'Compresseur' *deletemark components 1 *endnotehistorystate {Deleted Components}

    in order to delete component ' RW_left' ' RW_right' 'Compresseur' in my model.

    But when I run the tcl/tk script file it did not work.

    Could you please give me some suggestions?

    Thanks

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    try removing space in front of comp names

    you have excessive createmark and clearmark commands at line 2 & 3, they are unnecessary.

    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Hi

    try removing space in front of comp names

    you have excessive createmark and clearmark commands at line 2 & 3, they are unnecessary.

    Hi

    I tried but It said that

    invalid command name '*startnotehistorystate'
    invalid command name '*startnotehistorystate'
        while executing
    '*startnotehistorystate {Deleted Components}'
        (file 'D:/Dropbox/Lille/Altair/TCL/Hoan/command03_15_delcomp.tcl' line 1)
        invoked from within
    'source {D:/Dropbox/Lille/Altair/TCL/Hoan/command03_15_delcomp.tcl}'
        ('uplevel' body line 1)
        invoked from within
    'uplevel #0 'source {$file}''
        (procedure '::HM_Framework::p_FileLoad' line 68)
        invoked from within
    '::HM_Framework::p_FileLoad 24'
        (menu invoke)

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

    Hi Pohan, 

    You don't need startnotehistorystate and end endnotehistorystate. All you have to do is:
     

     *createmark components 1 'RW_left' 'RW_right' 'Compresseur' *deletemark components 1
    User: "pohan"
    Altair Community Member
    OP
    Updated by pohan

    Hi Tinh and Livil

    Thank you very much. It worked with two rows.

    I think  startnotehistorystate and end endnotehistorystate are for undo.