Get DimXpert Tolerance7 Example (VB.NET)
This example builds a part to demonstrate usage of the SolidWorks Document
Manager API for a composite
line profile geometric toleranceDimXpert annotation.
'--------------------------------------------------------------------------
' 1.
Open:
' <SolidWorks_install_dir>\samples\tutorial\api\plate_tolstatus.sldprt
' 2.
Open the DimXpert toolbar from View > Toolbars
' (select the first instance
of Toolbars on the View menu).
' 3.
Create the composite line profile geometric tolerance:
' a.
Create a Datum A on the front face of the part.
' b.
Click Geometric Tolerance on the DimXpert tool bar.
' In
the Geometric Tolerance Properties dialog:
' i. Select
Line Profile from the Symbol dropdown in
' the first row.
' ii.
Type A in the Primary field of the first row.
' iii. In second row, select
Line Profile from the Symbol
' dropdown
list.
' iv.
Type a tolerance in the Tolerance 1 field of the
' second row.
' v.
Type A in the Primary field of the second row.
' vi. Select the composite frame check box.
' vii. Click the inner face of the hole.
'
viii. Click outside the part to place the annotation.
' ix. Click
OK to close the Geometric Tolerance
' Properties dialog.
' c.
Observe CompositeLineProfile3 under the SimpleHole1 feature
' 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_VBNET
with this part.
'-----------------------------------------------------------------------------