can not find the file command.cmf

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Dear all

       I want to find the command.cmf file. But I could not find it under the start directory.I did as follows. Where am I wrong? thanks!

1. Locate and right-click the relevant HyperWorks Desktop application icon from the Start menu Altair HyperWorks <Version> group.
Or
Locate and right-click the HyperWorks Desktop executable file (e.g. <altair_home\hw\bin\<platform>\hw.exe)
2. Select Properties to open the properties dialog.
3. Select the Shortcut tab.
4. Edit the Start in field to contain the path to the directory in which you want to run the HyperWorks Desktop application. This directory becomes the start-in directory.
5. Click OK.
6. Start the HyperWorks Desktop application as defined in the 'Starting HyperWorks Desktop Applications' section.

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited February 2016

    Yes, it's right.

    Or you can pull up command window and type in command 'pwd' press Enter

    it's current directory and your cmf file is written there

    If you don't see it, try searching by window explorer

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Yes, it's right.

    Or you can pull up command window and type in command 'pwd' press Enter

    it's current directory and your cmf file is written there

    If you don't see it, try searching by window explorer

    Thanks for your answering. I tried your methods and also searched by window explorer, but still could not find the file. I don't know why. Is there any problem with the software itself?

  • tinh
    tinh Altair Community Member
    edited February 2016

    Yes, perhaps some problems with software

    You can try checking menu Preference>Script Performance, ensure that 'Disable writing to command file' is unchecked?

    what is your current working directory (by 'pwd' command)?

    is there any error message say 'Permission denied...' on message bar?

    inform us your hypermesh version and updates

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Yes, perhaps some problems with software

    You can try checking menu Preference>Script Performance, ensure that 'Disable writing to command file' is unchecked?

    what is your current working directory (by 'pwd' command)?

    is there any error message say 'Permission denied...' on message bar?

    inform us your hypermesh version and updates

     

    1, I tried your methods. I found that the 'Disable writing to command file' is checked, then I unchecked it. But when I saw the menu again ,it became checked automatically. I don't know why.

    2, there is not any message say 'Permission denied'

    3, My hypermesh version is 13.0 .

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi,

     

    can you clear the setting files, open HM and uncheck the 'Disable writing to command file'?

     

    delete setting files on your machine and try again. Follow the link below on how to delete setting files:

     

    http://forum.altairhyperworks.com/index.php?/topic/13434-how-to-delete-settings-files/?hl=delete

     

    Also, delete .Altair folder in temporary directory. Go to Run and type in %Temp% and click OK

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi,

     

    can you clear the setting files, open HM and uncheck the 'Disable writing to command file'?

     

    delete setting files on your machine and try again. Follow the link below on how to delete setting files:

     

    http://forum.altairhyperworks.com/index.php?/topic/13434-how-to-delete-settings-files/?hl=delete

     

    Also, delete .Altair folder in temporary directory. Go to Run and type in %Temp% and click OK

     

     

    Thanks for your replying. But I still could not uncheck the 'Disable writing to command file'. Why?

  • tinh
    tinh Altair Community Member
    edited February 2016

    Hi

    perhaps there is any tcl script running like a schedule?

    do you install any tcl macro to your hypermesh session (in hmcustom.tcl, or in shortcut properties of hypermesh)?

    pull up command window and type in the command:

     

    foreach timer_id [after info] {puts [after info $timer_id]}

     

    post the results of above command to me

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi

    perhaps there is any tcl script running like a schedule?

    do you install any tcl macro to your hypermesh session (in hmcustom.tcl, or in shortcut properties of hypermesh)?

    pull up command window and type in the command:

     

    foreach timer_id [after info] {puts [after info $timer_id]}

     

    post the results of above command to me

    Thank you very much!

    I am sorry for answering you late, for I am taking annual leave this days. I have already run the command, and the results are as follows. Is there any problem?

    ::hwt::KeepOnTop timer
    ::tkcon::GarbageCollect timer

  • tinh
    tinh Altair Community Member
    edited February 2016

    Hi

    there is no problem

    try below command: 

    hm_commandfilestate 1

     

    • finally if there is no effect, you should reinstall hyperworks:rolleyes:/emoticons/default_rolleyes.gif' title=':rolleyes:'>
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi

    there is no problem

    try below command: 

    hm_commandfilestate 1

     

    • finally if there is no effect, you should reinstall hyperworks:rolleyes:/emoticons/default_rolleyes.gif' title=':rolleyes:'>

    Thanks!

    I tried your method, the results are always 0. I can't change it to 1. Maybe I should reinstall hyperworks. Thanks again!