hm_jobs_submitBatchmeshJob
Submits a BatchMesh job to the server.
Syntax
hm_jobs_submitBatchmeshJob app_id version job_name input_file output_path translator criteria_file param_file args
Type
HyperMesh Tcl Query Command
Description
Submits a BatchMesh job to the server.
Returns the job ID upon successful submission, or null on failure.
Always set the current server on which the job needs to be submitted by using hm_jobs_setCurrentServer before submitting a job. To run jobs locally using PBS-sensor, set the current server as "local". Jobs submitted using the local server will run in sequential order.
Inputs
- app_id
- The application name to which the job has to be submitted to (for example, BatchMesh).
- version
- The BatchMesh version to use (for example, 2020.1).
- job_name
- The name of the job to submit.
- input_file
- The full name and path of the input file.
- output_path
- The full path where the output should go.
- translator
- The name of the BatchMesh translator to use.
- criteria_file
- The full name and path of the BatchMesh criteria file.
- param_file
- The full name and path of the BatchMesh param file.
- args
- Any additional BatchMesh command line arguments.
Examples
To submit a BatchMesh job on the server:
hm_jobs_submitBatchmeshJob BatchMesh 14.0 "new_job" "C:/temp/input/MASTER.hm" "C:/temp/output" "hm" "C:/temp/input/general_10mm.criteria" "C:/temp/input/general_10mm.param" ""
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.130