Get DimXpert Surface Feature Example (C#)
This example builds a part to demonstrate usage of the
SOLIDWORKS Document Manager API for a DimXpert surface feature.
//---------------------------------------------------------------------------
// 1.
Open:
// public_documents\samples\tutorial\moldedproductdesignadvanced\mousesplit.sldprt
// 2.
Open the DimXpert toolbar from View > Toolbars
// (select the first instance
of Toolbars on the View menu).
// 3.
Create the DimXpert surface feature:
// a.
Click Geometric Tolerance on the DimXpert toolbar.
// In
the Geometric Tolerance Properties dialog:
// i. Select
Profile of Surface from the Symbol dropdown
// list in the first row.
// ii. Click the top-right surface of the mouse.
// iii.
Click outside the part to place the annotation.
// iv. Click
OK to close the Geometric Tolerance
// Properties dialog.
// b. Observe
SurfaceProfile1 under Profile Feature1 in the DimXpert
tree.
// 4.
Close the part, saving it to another name.
// NOTE:
Because these parts are used in a SOLIDWORKS
// online tutorial, do not save
any changes to the
// original file name.
// 5.
Read how to load and run Code_Example_CSharp
with this part.
//---------------------------------------------------------------------------