display_as_output
Automatically processes templates, auto_templex_report.
Syntax
display_as_output
Input
N/A
Example
Template:
{display_as_output}
{increment = read(temp_var, 0, 0, 0)}
{wcx = read(temp_var, 0, 0, 1)}
{wcy = read(temp_var, 0, 0, 2)}
{wcz = read(temp_var, 0, 0, 3)}
{spax = read(temp_var, 0, 0, 4)}
{spay = read(temp_var, 0, 0, 5)}
{spaz = read(temp_var, 0, 0, 6)}
{n = numpts(increment)}
{camber = array(n)}
{toe = array(n)}
{for(i=0; i<=10; i++)}
{temp1 = spaz[i] - wcz[i]}
{temp2 = sqrt((wcy[i]-spay[i])^2+(wcz[i]-spaz[i])^2)}
{temp3 = wcx[i] - spax[i]}
{temp4 = sqrt((wcx[i]-spax[i])^2+(wcy[i]-spay[i])^2)}
{camber[i] = rtod(asin(temp1/temp2))}
{toe[i] = rtod(asin(temp3/temp4))}
{endloop}
-- OUTPUT --
Inc camber toe
--- ------------ ------------
Comments
When a Templex template is loaded into the text editor, the MotionView or HyperGraph window is automatically processed.