Model Analysis > Creo Behavioral Modeling Tools > Analyses > PTC Mathcad Analysis and PTC Mathcad Analysis Feature > Example: Exporting Angular Dimensions to PTC Mathcad
  
Example: Exporting Angular Dimensions to PTC Mathcad
Summary—This example shows you how to export angular dimensions to PTC Mathcad.
Problem—Need to map a Creo Parametric angular dimension, d36, with a PTC Mathcad variable, x:=30 deg.
Solution—Redefine the PTC Mathcad variable x degree as x radians and create a PTC Mathcad analysis feature.
The following steps outline this example:
1. In PTC Mathcad, load an existing PTC Mathcad file with a .xmcd extension.
2. Redefine the PTC Mathcad assignment variable x:=30 deg as x:=0.52 rad.
3. In the Math region, select a PTC Mathcad assignment variable, x:=0.52 rad.
4. Click Format > Properties. The Properties dialog box opens.
5. Click the Display tab and edit the tag information for the variable.
6. In the Tag box, enter the value proe2mc and click OK.
7. Click File > Save to save the PTC Mathcad file with a .xmcd extension.
8. In Creo Parametric, open the model and click Tools > Parameters. The Parameters dialog box opens.
9. Under Look In, select the desired object type to which you want to add a parameter.
10. Click to create a parameter, type ANGLE as the parameter name in the Name column, and select the unit rad.
11. Click Tools > Relations. In the Relations dialog box that opens, click Utilities > Unit Sensitive.
12. Under Look in, select the desired object type to apply the relation.
13. Under Relations, type the unit-sensitive relation ANGLE=d36*pi/180 and press ENTER. This relations shows that the ANGLE parameter is driven by the d36 dimension.
14. Click Utilities > Verify to validate the relations you have entered.
15. Click Analysis > Mathcad Analysis. The Mathcad Analysis dialog box opens.
16. Click Load File under File and select a file with a .xmcd extension.
17. After loading the PTC Mathcad file, click Add Parameter. In the Parameter Selection dialog box, select the ANGLE parameter.
18. In the Input Selection dialog box, click the PTC Mathcad assignment variable x to map it with theANGLE parameter.
19. Define the remaining analysis as required.
20. To save this analysis in an analysis feature, click Add Feature and enter a name for the feature. A new analysis feature appears on the Model Tree.