Femtet Macro Help/Manual
 

Home / Tutorial / 04. Macro Execution

00

01

02

03

04

05

06

04. Macro Execution

Run the macro.
 

  1. To call the FemtetMain method, add a definition to the CommandButton1_Click method created in 02. Command Button Creation by Excel.

  1. Double click [FemtetMacro] to open.

  1. If you want to save the project, uncomment the block for the project saving in the FemtetMain procedure (subroutine).

 

  1. If you want to perform meshing, uncomment the line for the meshing in the FemtetMain procedure (subroutine).

  1. If you want to perform analysis, uncomment the line for the analysis execution.

  1. If you want to save the results of analysis, uncomment the line for extracting analysis results.
    Also, uncomment the block for the method to extract results which is written further down.

 

 

  1. Save the Excel worksheet.

 

  1. By pushing the command button in Excel worksheet, macro runs to create the cantilever model in Femtet.
    If you uncomment meshing or analysis, the operations will be automatically executed.
     

  2. If it does not work correctly, it might be necessary to check if the setup is done properly.
    See this for the detail.

 

Prev Next