Get DimXpert Compound Width and Best Fit Plane Features Example (VB.NET)
This example builds a part to demonstrate usage of the
SolidWorks Document Manager API for the following DimXpert features:
*
Compound
width
*
Best fit
plane
'----------------------------------------------------------------------
' 1.
Open:
' <SolidWorks_install_dir>\samples\tutorial\api\block.sldprt
' 2.
Open the DimXpert toolbar from View > Toolbars
' (select the first instance
of Toolbars on the View menu).
' 3.
Create the DimXpert best fit plane feature:
' a.
Click Location Dimension on the DimXpert toolbar.
' b.
Select the left-front face of the block.
' c.
Click the Compound Plane icon on the DimXpert pop-up
' toolbar.
' d.
Select the right front face of the block.
' e.
Click the green check mark on the DimXpert pop up toolbar.
' f.
Select the back face of the block.
' g.
Click outside the part to place the location dimension
' annotation.
' 4.
Create the DimXpert width feature:
' a.
Click Size Dimension on the DimXpert toolbar.
' b.
Select a front face of the block.
' c.
Click the Width icon on the DimXpert pop up toolbar.
' d.
Select the back face of the block.
' e.
Click the green check mark on the DimXpert pop-up toolbar.
' f.
Click outside the part to place the size dimension annotation.
' 5.
Observe the following DimXpert features on the DimXpertManager
' tab: Plane2,
Plane3, and Width1.
' 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.
'----------------------------------------------------------------------