First, open the "angle.mcd" file, usually in C:\Program Files\MathSoft\Mathcad\samples\CAD\SmrtSkch then fillow the steps below...
1) doubleclick the smartsketch component below
2) be sure that the Tools>Maintain Relationships menu item is checked
3) draw a line whose length is to be controlled
4) dimension the line with normal smartsketch dimension tools
5) with the dimension highlighted, make sure the Driving/Driven button (this button looks like a dimension w/lock a on it) is depressed.
6) choose the Tools>Variables menu item, the new dimension will appear in the list with a V### name. Give it a name that makes sense, then click the X to close that window.
7) click away from the smartsketch component to return to mathcad.
8) rightclick the smartsketch component and choose "Add Input Variable"
9) click the new placeholder at the bottom and give it a name
10) rightclick the smartsketch component and choose "Properties"
11) go to the blank pulldown next to the newest (last) input, and choose the variable name that was entered into the smartsketch variables list. Click OK.
12) Assign a value to the input variable in mathcad and the drawing should update automagically.