Get DimXpert Tolerance3 Example (VB.NET)
This example builds a part to demonstrate usage of the
SolidWorks Document Manager API for the following DimXpert annotations:
*
Position
geometric tolerance
*
Composite
position geometric tolerance
*
Orientation
(Perpendicularity) geometric tolerance
'----------------------------------------------------------------------------
' 1.
Open:
' <SolidWorks_install_dir>\samples\tutorial\api\cover_position.sldprt
' 2.
Create a composite position tolerance:
' 3.
Click Geometric Tolerance on the DimXpert toolbar.
' In
the Geometric Tolerance Properties dialog:
' a.
Select Position from the Symbol dropdown list
' in the first row.
' b.
Type A in Primary, B in Secondary, and C in Tertiary.
' c.
In second row (lower tier), select Position
' from the
Symbol dropdown list.
' d.
Type 0.25 in Tolerance1.
' e.
Type A in Primary.
' f.
Select the Composite frame check box.
' g.
Click the circular face of the boss.
' h.
Click outside the part to place the annotation.
' i.
Click OK to close the Geometric Tolerance
' Properties dialog.
' 4.
In the DimXpertManager tab of the Management Panel,
' expand Plane2.
' 5.
Observe the following Dimxpert annotations:
' CompositePosition1,
Position1, and Perpendicularity1.
' 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_VBNET
with this part.
'----------------------------------------------------------------------------