Hide Table of Contents

Get DimXpert Tolerance6 Example (C#)

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

    *  Composite surface profile geometric tolerance

    *  Tangency geometric tolerance


// 1. Open:

// <SolidWorks_install_dir>\samples\tutorial\cosmosxpress\aw_anchor_plate.sldprt

// 2. Open the DimXpert toolbar from View > Toolbars

//    (select the first instance of Toolbars on the View menu).

// 3. Create a composite surface profile tolerance:

//    a. Click Datum on the DimXpert tool bar.

//    b. Click a top face of the part.

//    c. Click outside the part to place Datum A.

//    d. Click a back face of the part.

//    e. Click outside the part to place Datum B.

//    f. Click a side face of the part.

//    g. Click outside the part to place Datum C.

//    h. Click Geometric Tolerance on the DimXpert tool bar.

//       In the Geometric Tolerance Properties dialog:

//           i.    Select Surface Profile from the Symbol dropdown list.

//           ii.   Type A in the Primary box, B in the

//                 Secondary box, and C in the Tertiary box.

//           iii.  In the second row, select Surface profile from

//                 the Symbol dropdown list.

//           iv.   In the second row, type A in the Primary box.

//           v.    Select the Composite frame check box.

//           vi.   Click the front curve of the hook.

//           vii.  Click outside the part to place the annotation.

//           viii. Click OK to close the Geometric Tolerance

//                 Properties dialog.

//    i. In the DimXpertManager tab of the Management Panel,

//       expand Cylinder1.

//    j. Observe the following Dimxpert annotation:  

//       Composite Surface Profile1.

// 4. Create tangency tolerances:

//    a. Click Auto Dimension Scheme icon on the DimXpert tool bar.

//    b. Select all feature filters.

//    c. Click the green check mark to accept the settings.

//    d. Observe several tangency tolerance annotations.

// 5. 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.

//6. 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

Subject:   Feedback on Help Topics
Page:   Get DimXpert Tolerance6 Example (C#)
*   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:


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

Web Help Content Version: API Help (English only) 2012 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.