Hide Table of Contents

Get DimXpert Tolerance8 Example (C#)

This example builds a part to demonstrate usage of the SolidWorks Document Manager API for the following DimXpert annotations:

    *  Circular runout geometric tolerance

    *  Total runout geometric tolerance

    *  Angularity geometric tolerance

    *  Parallelism geometric tolerance

//------------------------------------------------------------------------

// 1. Open:

//   <SolidWorks_install_dir>\samples\tutorial\api\cover_datum.sldprt

// 2. Click Datum on the DimXpert tool bar and place

//      Datum A inside the hole.

// 3. Create the circular runout geometric tolerance:

//    a. Click Geometric Tolerance on the DimXpert toolbar.

//       In the Geometric Tolerance Properties dialog:

//           i. Select Circular Runout from the Symbol dropdown

//              list in the first row.

//          ii. In the Primary field, type A.

//         iii. Click the outer cylinder of the part and click

//              again outside the part to place

//              the annotation.

//          iv. Click OK to close the Geometric Tolerance

//              Properties dialog.

//    b. Observe CircularRunout1 under Cylinder1 in the

//       DimXpert tree.

// 4. Create the total runout geometric tolerance:

//    a. Click Geometric Tolerance on the DimXpert toolbar.

//       In the Geometric Tolerance Properties dialog:

//           i. Select Total Runout from the Symbol dropdown

//              list in the first row.

//          ii. In the Primary field, type A.

//         iii. Click the boss of the part and click again

//              outside the part to place

//              the annotation.

//          iv. Click OK to close the Geometric Tolerance

//              Properties dialog.

//      b. Observe TotalRunout1 under Boss1 in the DimXpert

//         tree.

// 5. Create the angularity geometric tolerance:

//    a. Click Geometric Tolerance on the DimXpert toolbar.

//       In the Geometric Tolerance Properties dialog:

//           i. Select Angularity from the Symbol dropdown

//              in the first row.

//          ii. In the Primary field, type A.

//         iii. Click a face of the notch and click again

//              outside the part to place the annotation.

//          iv. Click OK to close the Geometric Tolerance

//              Properties dialog.

//      b. Observe Angularity1 under Notch1 in the DimXpert

//         tree.

// 6. Create the parallelism geometric tolerance:

//    a. Click Geometric Tolerance on the DimXpert toolbar.

//         In the Geometric Tolerance Properties dialog:

//           i. Select Parallel from the Symbol dropdown

//              in the first row.

//          ii. In the Primary field, type A.

//         iii. Click the boss of the part and click again

//              outside the part to place the annotation.

//          iv. Click to close the Geometric Tolerance

//              Properties dialog.

//    b. Observe Parallelism1 under Boss1 in the DimXpert tree.

// 7. Close the part, saving it to another name.

//     NOTE: Because this part is used in a SolidWorks online

//           tutorial, do not save any changes to the original

//           file name.

// 8. Read how to load and run Code_Example_CSharp with this part.

//------------------------------------------------------------------------



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Get DimXpert Tolerance8 Example (C#)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.