0
0
Solidworksbi_tool~10 mins

Smart dimension tool in Solidworks - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to activate the Smart Dimension tool in SolidWorks.

Solidworks
swApp.ActiveDoc.SketchManager.[1]()
Drag options to blanks, or click blank then click option'
AAddDimension
BCreateDimension
CSmartDimension
DInsertDimension
Attempts:
3 left
💡 Hint
Common Mistakes
Using InsertDimension instead of SmartDimension.
Trying to call a method that does not exist in SketchManager.
2fill in blank
medium

Complete the code to select an edge before applying Smart Dimension.

Solidworks
swApp.ActiveDoc.Extension.SelectByID2("Edge1", "EDGE", 0, 0, 0, false, 0, null, 0)
swApp.ActiveDoc.SketchManager.[1]()
Drag options to blanks, or click blank then click option'
ASmartDimension
BAddDimension
CCreateDimension
DInsertDimension
Attempts:
3 left
💡 Hint
Common Mistakes
Using AddDimension which is not a valid method here.
Calling InsertDimension which is incorrect for Smart Dimension.
3fill in blank
hard

Fix the error in the code to properly create a Smart Dimension on a selected point.

Solidworks
swApp.ActiveDoc.Extension.SelectByID2("Point1", "SKETCHPOINT", 0, 0, 0, false, 0, null, 0)
swApp.ActiveDoc.SketchManager.[1]()
Drag options to blanks, or click blank then click option'
ACreateDimension
BAddDimension
CInsertDimension
DSmartDimension
Attempts:
3 left
💡 Hint
Common Mistakes
Using AddDimension which is not recognized.
Using InsertDimension which does not apply here.
4fill in blank
hard

Fill both blanks to select a line and apply Smart Dimension in SolidWorks.

Solidworks
swApp.ActiveDoc.Extension.SelectByID2("[1]", "[2]", 0, 0, 0, false, 0, null, 0)
swApp.ActiveDoc.SketchManager.SmartDimension()
Drag options to blanks, or click blank then click option'
ALine1
BEdge1
CEDGE
DSKETCHLINE
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Edge1' with type 'EDGE' for a sketch line selection.
Mixing up the name and type parameters.
5fill in blank
hard

Fill all three blanks to select a circle and add a Smart Dimension in SolidWorks.

Solidworks
swApp.ActiveDoc.Extension.SelectByID2("[1]", "[2]", 0, 0, 0, false, 0, null, 0)
swApp.ActiveDoc.SketchManager.[3]()
Drag options to blanks, or click blank then click option'
ACircle1
BSKETCHCIRCLE
CSmartDimension
DEDGE
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'EDGE' as type for a sketch circle.
Calling a wrong method instead of 'SmartDimension'.