HM command recorder
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.
Answers
-
Which version of Hypermesh do you use?
'command.cmf' is OLD release.
0 -
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.
0 -
Altair Forum User said:
Which version of Hypermesh do you use?
'command.cmf' is OLD release.
HI
I use version 2017
0 -
Altair Forum User said:
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?
0 -
Altair Forum User said:
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.0 -
Thank you Livil Lyle
In my opinion, sometimes if we want to focus on some specific commands may be command recorder is better.
0 -
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
0 -
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
0 -
Hi
try removing space in front of comp names
you have excessive createmark and clearmark commands at line 2 & 3, they are unnecessary.
0 -
Altair Forum User said:
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)0 -
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
0 -
Hi Tinh and Livil
Thank you very much. It worked with two rows.
I think startnotehistorystate and end endnotehistorystate are for undo.
0