Hide Table of Contents

Get DimXpert Compound Width and Best Fit Plane Features Example (C#)

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

    *  Width

    *  Best fit plane

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

// 1. Open public_documents\tutorial\api\block.sldprt.

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

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

// 3. Create the DimXpert best fit plane feature:

//    a. Click Location Dimension on the DimXpert toolbar.

//    b. Select the left-front face of the block.

//    c. Click Compound Plane on the DimXpert pop-up

//       toolbar.

//    d. Select the right front face of the block.

//    e. Click the green check mark on the DimXpert pop-up toolbar.

//    f. Select the back face of the block.

//    g. Click outside the part to place the location dimension

//       annotation.

//    h. Observe the best fit plane DimXpert feature on the

//       DimXpertManager tab.

// 4. Create the DimXpert width feature:

//    a. Click Size Dimension on the DimXpert toolbar.

//    b. Select a front face of the block.

//    c. Click Width on the DimXpert pop-up toolbar.

//    d. Select the back face of the block.

//    e. Click the green check mark on the DimXpert pop-up toolbar.

//    f. Click outside the part to place the size dimension annotation.

// 5. Observe the following DimXpert feature on the DimXpertManager

//    tab:  Width1.

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

// 7. 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 Compound Width and Best Fit Plane Features 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) 2017 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.