Bcc.AddNewCAMJobFromTemplate
Bcc.AddNewCAMJobFromTemplate(JobType, JobTemplate)
Description
This function will create a new CAM job from an existing job template on the system.
Parameters
- JobType – integer value specifying the type of job to create
- 0 = Milling
- 1 = Turning
- 2 = Mill Turn
- 3 = Wire EDM
- JobTemplate - A valid existing job template on the users system.
Note: Job Templates will be located in the users \BobCAD-CAM Data\BobCAD-CAM V##\Technology\Templates\CAM\Jobs folder
It is the user to make sure the template that is being requested to be used exists on the system.
Return
Returns the object ID for the created CAM Job.
Examples
-- Create a new Milling job with the BC_3x_Mill and the System Default template
Bcc.AddNewCAMJob(0, "My Job Template")