Pro/ENGINEER-Mathcad Integration. Units. Dimensions. (Length, Angle, Area, Volume).

1. Introduction

The new integration between Mathcad and Pro/ENGINEER has become available as of Pro/ENGINEER release Wildfire 3.0 (datecode M030) and later.

Users can associate any Mathcad worksheet with a Pro/ENGINEER part or assembly using the Analysis feature in Pro/ENGINEER. Parameters/Dimensions from Pro/ENGINEER can be input into Mathcad for engineering calculations. Values calculated in Mathcad can be mapped to parameters & dimensions in the model to further drive the design.

This example is intended to walk users through a typical Pro/ENGINEER Mathcad Analysis setup procedure and to emphasize some basic understanding of units’ compatibility.

2. The Model. This rectangular block will fit exactly in the cut made in the triangular cross-section block. The rectangularshaped block will be placed in this location using typical Pro/ASSEMBLY constraints (Mate/Align/etc) constraints. Another rectangular shaped block is assembled to this model in a Pro/ENGINEER assembly (*.asm) file. The final assembled geometry can be seen in Figure 3.

A simple model (Figure 1.) is to be examined, a 3D block of triangular shape cross-section. The model has a cut, made on the inclined surface, of dimensions shown in Figure 2.

1.

After you have opened the Pro/ENGINEER part examine the system of units this part was created in. The same units are the ones we are going to work with in this session. Use from Pro/ENGINEER main menu: >Edit >Setup >Units to accomplish this operation. The current system of units is the Pro/ENGINEER default1 [in-lbm-sec].

Obviously, these units can be changed, converted and interpreted. But, for our example we’re going to use inch (length)-lbm (mass)-seconds (time).

From the Pro/ENGINEER Model Tree edit the definition of Sketch 1. This sketch was created such that it 3. Modeling Technique defines the cross-section for the Pro/ENGINEER 3D geometry. The following dimensions (as shown in This example will be divided in 2 main steps. Figure 4.) will be displayed.

In the first step only the triangular-shaped geometry will be examined and integrated with a Mathcad worksheet. Pro/ENGINEER model dimensions will be input to Mathcad & values calculated from Mathcad mathematical operations reported back in Pro/ENGINEER.

In the second step, the assembly will be examined and both Pro/ENGINEER dimensions & analysis feature parameters will be input to Mathcad, then Mathcad will perform the mathematical calculations and report values back in Pro/ENGINEER. These values will be later used in a Behavioral Modeling Relation analysis feature.

4. Evaluation of Distances (Length, Angle). The given dimensions are: the base (Length_1= Start this example by retrieving the model from provided Winzip files in a Pro/ENGINEER session. The name of the Pro/ENGINEER part is triangle_block.prt.
1 You can investigate Pro/ENGINEER Help Center (‘Fundamentals’) for more details on basic & derived units used in Pro/ENGINEER.

15.00 inches) and angle (Angle_1=60 degrees). From Pro/ENGINEER main menu use: >Info

2.

This operation can be easily identified in Figure 10. we also have to tag the output variables such In order to accomplish this interaction –from Mathcad point of view. Click on the variable Length_1 from within the Mathcad worksheet. The known angle (Angle_1) and dimension of the base (Length_1) will be input in Mathcad.we’d have to tag these variables2 to be used in reading input from & output to Pro/ENGINEER. Units. steps/formulas used to compute the angles & lengths are self-explanatory. As you probably assumed. and click in the box called Tag. The output is highlighted in green. then right-mouse button and select >Properties.Pro/ENGINEER-Mathcad Integration. and is 90 degrees. that Mathcad provides the computed output back in Pro/ENGINEER. and following computed values input back to Pro/ENGINEER: Angle_3. & 11. select the tab called Display. Now. Once in Mathcad variable’s >Properties definition window. for the other input variable (Angle_1). 5. not a variable. . Use the same procedure to complete the tag operation Note that Angle_2 is known. 2 The input variables are highlighted in blue in the Mathcad worksheet. Type in the name of the tag: proe2mc as seen in Figure 11. this is done using the same operation as depicted in Figure 10. and Length_2 & Length_3.

Pro/ENGINEER interface should provide the Mathcad variable that you’ve tagged in the previous steps (Length_1) as seen in Figure 17.Pro/ENGINEER-Mathcad Integration. After you have accessed Add Dimension. Units. After you’ve selected this dimension. Once the Mathcad file is loaded. click with the pointer of the mouse the 3D geometry. access the dimensions of the triangular shaped model. Select the 15 inches dimension as seen in Figure 16. such that we can 7. click button Add Dimensions (as seen in Figure 15) such that we can access the dimensions of the model (the 1st one is Length_1) and input them to Mathcad. .

Pro/ENGINEER will ask for the selection of tagged variable from Mathcad (see Figure 20. Investigate units’ compatibility in Pro/ENGINEER’s Select this ANGLE_1_RAD parameter. we need to select Pro/ENGINEER parameters for our next input (Angle_1).). Before proceeding with the next input selection (Angle_1). Thus. Click in the Mathcad Analysis definition window for Add Parameters as see in Figure 19. This operation will allow us to select Pro/ENGINEER parameter ANGLE_1_RAD that we have created in our previous steps. and click OK in the Input Selection definition window. . investigate units’ compatibility in Pro/ENGINEER’s Pro/E to Mathcad definition window (see Figure 18. we will maintain compatibility of units between Pro/ENGINEER and Mathcad worksheet. Units.Pro/ENGINEER-Mathcad Integration. Next.). Select this variable.). 8. Pro/E to Mathcad definition window (see Figure 21. Also. and click OK.

Units. The system will provide the tagged parameters from Mathcad that evaluate Length_2.) click Compute button such that Mathcad can provide computed values for these variables (Angle_3. Angle_3. and Length_3). Click on the button called Outputs as seen in Figure 22. Length_2. Next. This last operation completes the input from Pro/ENGINEER to Mathcad. In this example. Check the boxes for the parameters that you need evaluated and input back in Pro/ENGINEER.) and select OK. Length_3 and the angle. . we need to retrieve the output from Mathcad worksheet (all the computations are performed by Mathcad) and provide it back in Pro/ENGINEER. Once all the input & output has been specified in the Mathcad Analysis definition window (see Figure 24. check the boxes for all 3 measures (see Figure 23. we need to use the same Mathcad Analysis definition window. In order to accomplish this operation.Pro/ENGINEER-Mathcad Integration. 9.

Next. parameters will update accordingly. Once this operation is completed. and notice the updated value for this angle. we’d like to set a certain angle in the model equal to this new angle value and. Click OK in the relation editor definition window. As expected. Create a new Pro/ENGINEER parameter –let’s name it ANGLE_3_DEG. For instance. now in degrees. click OK in the parameter definition window. The advantage of using Mathcad Analysis feature & parameters is that any Pro/ENGINEER changes made in the model will be reflected in the computations and therefore. This can be accomplished by using from Pro/ENGINEER main menu: >Tools >Parameter. and Angle_2 is 90 degrees.of unit value. . the value has to be in degrees for Pro/ENGINEER to interpret it correctly. from Pro/ENGINEER main menu select: >Tools >Relations. 11. Units. Write a relation that converts the Mathcad MC_ANGLE_3 parameter from radians in degrees.). obviously. Do not specify units for this parameter. Verify the relation (see Figure 28. since Angle_1 is 60 degrees.Pro/ENGINEER-Mathcad Integration. this ANGLE_3_DEG value is 30 (degrees).

and erase models from session. Integrating Mathcad Analysis Parameters in Pro/ENGINEER Analysis Features. Align. These 2 parts were assembled using regular Pro/ASSEMBLY constraints (Mate.prt will be evaluated assembly as: 12.) rectangular_block. regenerate and save the model. The purpose of this example is to help end users understand the Pro/ENGINEER-Mathcad This last operation completes the first section of the suggested technique. and then identify the new values for ANGLE_1_RAD. and used to evaluate Pro/ENGINEER Relation analysis feature parameters in the assembly model. We plan to evaluate the total volume & mass of the 5. integration. Restore the original angle value (back to 60 degrees). etc).prt will be evaluated from a Pro/ENGINEER Mass Properties analysis feature. 60 degrees) to 45 degrees (see Figure 29. The volume & mass of the rectangular_block. The assembly has 2 components (parts): triangle_block. These new values updated accordingly (see Figure 30. Retrieve in Pro/ENGINEER assembly 3d_asx. and obviously ANGLE_3_DEG.prt and Regenerate the model. Units. The volume & mass parameters of the triangular_block. change dimension Angle_1 (currently. . The following steps and parameters can be attained/evaluated through different methods in Pro/ENGINEER. Close Pro/ENGINEER window. For instance.asm from the provided Winzip file.prt.Pro/ENGINEER-Mathcad Integration. Another Mathcad-Pro/ENGINEER integration example will be investigated in this section: Pro/ENGINEER Mathcad Analysis parameters will be input back in Pro/ENGINEER.).

4 13.prt in a Pro/ENGINEER window and select from main menu: >Analysis >Model >Mass Properties. It is worth mentioning that the rectangular shaped block & triangle Pro/ENGINEER parts are made of different materials. Verify the units for each part as: retrieve each assembly part in Pro/ENGINEER and use >Edit >Setup >Units. where each Pro/ENGINEER part may or may not use similar system of units.1. select tab Definition. . basic units for: Length is (inches). Mass (lbm). Preparing the Pro/ENGINEER Assembly Model.Pro/ENGINEER-Mathcad Integration. This can be accomplished by accessing from Pro/ENGINEER main menu: >Edit >Setup >Units. Select radio button Feature under the tab entitled Analysis as seen in Figure 32.or underevaluate the total values as a result of mismatching units.) a density equal to 0. That is. customize In the end. 5.asm assembly model. the name of this analysis feature to MASS_PROPS_TRIANGLE. Units. This operation is needed so we can plan accordingly the Mathcad worksheet. but we will evaluate these 2 quantities using Mass Properties Analysis feature. Start by examining the system of units used in the current 3d_asx. using Pro/ENGINEER Mathcad Analysis feature.asm assembly will be evaluated using a Pro/ENGINEER Relation analysis feature. Remember that these are the units at the assembly level. Notice that assembly4’s current system of units is “Pro/E Default”. You may over. and Time (seconds). Open triangle_block. Use default coordinate system for computations. the total mass & volume of the entire 3d_asx. and specify (see Figure 33.prt) Pro/ENGINEER part. This step is very important since we’re about to evaluate the total volume & mass of the assembly. We need to evaluate the mass and volume of the triangular-shaped (triangle_block.29 lbm/in3. The Mass Properties definition window will be displayed. There are several procedures to accomplish this. Optionally. Next.

we can deploy the same method for the rectangular shaped component of the assembly. Check boxes for VOLUME & MASS such that the Mass Properties analysis feature parameters are created. These 14. In the first stage set the list of input for the Mathcad worksheet. Open rectangular_block. evaluate its mass. Click for Pro/ENGINEER to compute the mass mathematical operations will be performed in Mathcad. further computations. These parameters report the volume (in3) and mass (lbm) for the triangle_block. Obviously. . .). & 36. These are the dimensions in the model as presented in Figure 35. we will use a Pro/ENGINEER Mathcad Analysis feature. The plan is to evaluate the volume of the block as surface area times the depth of the block. and through the help of Mathcad Analysis feature input back in the Pro/ENGINEER model for properties’ values Click tab Feature (Figure 34. Units.Pro/ENGINEER-Mathcad Integration.prt component. Then. Complete this Pro/ENGINEER feature by clicking Save the model and close the Pro/ENGINEER window. using the known material density value.prt in a separate Pro/ENGINEER window. Instead.

the input from (or output to) Pro/ENGINEER & Mathcad worksheet variables have to be compatible. volume and mass of the rectangular block component. Specify the value for this parameter as 0. Open the supplied asx_dimensions_try1. and Volume_R_Block (or Volume.) called DENSITY. Width.Pro/ENGINEER-Mathcad Integration. We have specified in the Mathcad worksheet the input for (Length. we need to input the material density in the Mathcad worksheet. we need to examine the Mathcad worksheet. The unit for density in “Pro/E Default” is [lbm/in3]. Preparing the Mathcad Worksheet. From Pro/ENGINEER main menu access: >Tools >Parameters.2. in general) is L (liters).12 lbm/in3. Units. Next. Examine this worksheet. But. As mentioned in our previous example. so good! We have all the input required to compute surface area. 15. in general) is m2.xmcd worksheet in Mathcad. notice in the Mathcad worksheet that the default unit for Surf_Area (or Area. and Depth) in inches. Create a new real number parameter (see Figure 37. This can be identified in Figure 38. Also. . and specify the units as per “Pro/E Default” system of units. mainly concentrating on the units provided for the input from and output to Pro/ENGINEER. the units of So far. 5.

Select the dimensions from the model using the pointer of the mouse and selecting the appropriate Mathcad variables as prompted by the system. and DEPTH) and DENSITY parameter in the Mathcad worksheet.Pro/ENGINEER-Mathcad Integration. All this after you have successfully loaded the Mathcad worksheet in Mathcad Analysis definition window. WIDTH. - For WIDTH as seen in Figure 43: This can be accomplished using Add Dimensions button from Mathcad Analysis definition window (Figure 41). Units. . 17. - For LENGTH as seen in Figure 42: We need to input Pro/ENGINEER dimensions (LENGTH.

we have to specify the DENSITY parameter from Pro/ENGINEER. The input of dimensions is to be specified as in Figure 45. This operation will bring up the Parameter Selection definition window (see Figure 47. - For DEPTH as seen in Figure 44: This was tagged in Mathcad for variable Density_R_Block. Click button Add Parameters from the Mathcad Analysis definition window as seen in Figure 46. Ensure that you click OK after each selection of Mathcad variables from Input Selection definition window. Next. . 18.Pro/ENGINEER-Mathcad Integration. Units.).