Config File

The BatchMesher config file can be manually updated to reference files using an environment variable instead of an absolute path.

For example, if you have the environment variable HM_DEMOS defined with the value C:\Demos\hm, you may replace the line:
<Model Name="C:\Demos\hm\cleaned_up_geom.hm" Type="HyperMesh" MeshType="5mmCrash" 
PrevMeshType="" OutFileName="" PreGeomTCL="" PreMeshTCL="" PosMeshTCL="" />
with:
<Model Name="$::env(HM_DEMOS)\cleaned_up_geom.hm" Type="HyperMesh" MeshType="5mmCrash" 
PrevMeshType="" OutFileName="" PreGeomTCL="" PreMeshTCL="" PosMeshTCL="" />
This is supported for the:
  • Input model directory
  • Geometry files
  • Output directory
  • Criteria files
  • Parameter files
  • .tcl files