A program to recognize and reward our most engaged community members
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
Which version of Hypermesh do you use?
'command.cmf' is OLD release.
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.
Which version of Hypermesh do you use? 'command.cmf' is OLD release.
HI
I use version 2017
Could u please tell me more about that! Does it means every command in HM saved after we save that file?
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.
Thank you Livil Lyle
In my opinion, sometimes if we want to focus on some specific commands may be command recorder is better.
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
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
Hi
try removing space in front of comp names
you have excessive createmark and clearmark commands at line 2 & 3, they are unnecessary.
Hi try removing space in front of comp names you have excessive createmark and clearmark commands at line 2 & 3, they are unnecessary.
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)
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
Hi Tinh and Livil
Thank you very much. It worked with two rows.
I think startnotehistorystate and end endnotehistorystate are for undo.