Hide Table of Contents

Get DimXpert Intersect Features Example (C#)

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

    *  Intersect Point

    *  Intersect Line

    *  Intersect Circle

    *  Intersect Plane

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

// 1. Open:

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

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

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

// 3. Create a DimXpert Intersect Point Feature:

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

//    b. Select the front face of the part.

//    c. Select the Create Intersection Point icon from the DimXpert pop-up menu.

//    d. Select a cylinder whose axis intersects the first face at a point.

//    e. Click the green check mark in the pop-up menu to create the

//       intersect point.

//    f. Select a feature on the part to dimension against the intersect point.

//    g. Click outside the part to position the dimension in the view.

//    h. Observe the new Dimxpert feature on the DimXpertManager tab:  

//       Intersect Point1

// 4. Create a DimXpert Intersect Line Feature:

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

//    b. Select the front face of the part.

//    c. Select the Create Intersection Line icon from the DimXpert pop-up menu.

//    d. Select a perpendicular plane that would intersect the first plane

//       if extended (e.g., a top or side face of the part)

//    e. Click the green check mark in the pop-up menu to create the

//       intersect line.

//    f. Select a feature on the part to dimension against the intersect line.

//    g. Click outside the part to position the dimension in the view.

//    h. Observe the new Dimxpert feature on the DimXpertManager tab:  

//       Intersect Line1

// 5. Create a DimXpert Intersect Circle Feature:

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

//    b. Select the front face of the part.

//    c. Select the Intersect Circle icon from the DimXpert pop-up menu.

//    d. Select the opening conical surface of a flat head machine screw

//       (LPattern1 or LPattern3) in the part.

//    e. Click the green check mark in the pop-up menu to finish the dimension.

//    f. Click outside the part to position the size dimension in the view.

//    g. Observe the new Dimxpert feature on the DimXpertManager tab:  

//       Intersect Circle1

// 6. Create a DimXpert Intersect Plane Feature:

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

//    b. Zoom in on a flat head machine screw (LPattern1 or LPattern3).

//    c. Select the opening conical surface of a flat head machine screw

//       in the part.

//    d. Select the Intersect Plane icon from the DimXpert pop-up menu.

//    e. Select the inner cylindrical bore face of the flat head machine screw.

//    f. Click the green check mark in the pop-up menu to create the

//       intersect plane.

//    g. Select the top face of one of the extruded entities.

//    h. Click outside the part to position the location dimension in the view.

//    i. Observe the new Dimxpert feature on the DimXpertManager tab:  

//          Intersect Plane1

// 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 Intersect 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) 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.