loadshape_create(s,MT_ANALOG,double energy) where energy is the total energy used over the schedule definitionloadshape_create(s,MT_PULSED,double energy, double scalar, MACHINEPULSETYPE pulsetype, double pulsevalue) where energy is the total energy used over the schedule definition, scalar is the number of pulses generated over the schedule definition, pulsetype is the type of pulse generated (fixed duration or fixed power), and pulsevalue is the value of the fixed part of the pulse.loadshape_create(s,MT_PULSED,double energy, double scalar, MACHINEPULSETYPE pulsetype, double pulsevalue) where energy is the total energy used over the schedule definition, scalar is the number of pulses generated over the schedule definition, pulsetype is the type of pulse generated (fixed duration or fixed power), and pulsevalue is the value of the fixed part of the pulse.loadshape_create(s,MT_PULSED,double energy, double scalar, MACHINEPULSETYPE pulsetype, double pulsevalue, double q_on, double q_off) where energy is the total energy used over the schedule definition, scalar is the number of pulses generated over the schedule definition, pulsetype is the type of pulse generated (fixed duration or fixed power), pulsevalue is the value of the fixed part of the pulse, q_on is the pulse queue value at which the pulses are started, and q_off is the pulse queue value at which the pulses are stopped.