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