Bird
Raised Fist0
AutoCADbi_tool~10 mins

Endpoint, midpoint, center, intersection snaps in AutoCAD - Interactive Code Practice

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

Complete the code to enable the endpoint snap mode in AutoCAD.

AutoCAD
osnap = acad.ActiveDocument.Utility.[1]("ENDPOINT")
Drag options to blanks, or click blank then click option'
ASetOSnap
BGetOSnap
CEnableSnap
DActivateSnap
Attempts:
3 left
💡 Hint
Common Mistakes
Using a method that only gets the current snap mode instead of setting it.
2fill in blank
medium

Complete the code to calculate the midpoint between two points in AutoCAD.

AutoCAD
midpoint = Point((p1.X + p2.X) / [1], (p1.Y + p2.Y) / 2)
Drag options to blanks, or click blank then click option'
A3
B2
C4
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Dividing by 3 or 4 instead of 2.
3fill in blank
hard

Fix the error in the code to snap to the center of a circle.

AutoCAD
center_point = circle.[1]
Drag options to blanks, or click blank then click option'
AMidpoint
BCenterSnap
CCenter
DCenterPoint
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'CenterPoint' or 'Midpoint' which do not exist for circle objects.
4fill in blank
hard

Fill both blanks to calculate the intersection point of two lines in AutoCAD.

AutoCAD
intersection = line1.IntersectWith(line2, [1])
point = intersection.[2]
Drag options to blanks, or click blank then click option'
AacExtendNone
BPoint
CacExtendBoth
DCoordinates
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong extension options or trying to access a non-existent property.
5fill in blank
hard

Fill all three blanks to enable midpoint and intersection snaps and get the intersection point coordinates.

AutoCAD
acad.ActiveDocument.Utility.[1]("MIDPOINT")
acad.ActiveDocument.Utility.[2]("INTERSECTION")
coords = lineA.IntersectWith(lineB, acExtendNone).[3]
Drag options to blanks, or click blank then click option'
ASetOSnap
BGetOSnap
CCoordinates
DActivateSnap
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'GetOSnap' which only retrieves current snap mode, not sets it.

Practice

(1/5)
1. Which snap type in AutoCAD helps you select the exact middle point of a line segment?
easy
A. Midpoint snap
B. Endpoint snap
C. Center snap
D. Intersection snap

Solution

  1. Step 1: Understand the snap types

    Endpoint snap selects the ends of lines, center snap selects circle centers, intersection snap selects where objects cross, midpoint snap selects the middle of a line.
  2. Step 2: Identify the snap for the middle of a line

    The middle point of a line is selected by the midpoint snap.
  3. Final Answer:

    Midpoint snap -> Option A
  4. Quick Check:

    Middle of line = Midpoint snap [OK]
Hint: Midpoint snap always picks the exact middle of a line [OK]
Common Mistakes:
  • Confusing endpoint with midpoint
  • Using center snap for lines instead of circles
  • Thinking intersection snap works on single lines
2. Which of the following is the correct way to enable the Endpoint snap in AutoCAD using the command line?
easy
A. Type OSNAP END and press Enter
B. Type OSNAP E and press Enter
C. Type OSNAP ON and press Enter
D. Type END SNAP and press Enter

Solution

  1. Step 1: Recall OSNAP command usage

    OSNAP command controls object snaps. To enable specific snaps, you use their short codes.
  2. Step 2: Identify the correct code for Endpoint snap

    Endpoint snap is enabled by typing OSNAP E and pressing Enter.
  3. Final Answer:

    Type OSNAP E and press Enter -> Option B
  4. Quick Check:

    Enable Endpoint snap = OSNAP E [OK]
Hint: Use single-letter codes with OSNAP to enable snaps fast [OK]
Common Mistakes:
  • Typing full words instead of codes
  • Using OSNAP ON which toggles all snaps
  • Confusing END with E
3. Given a circle and a line crossing it, which snap will let you pick the exact point where the line crosses the circle?
medium
A. Intersection snap
B. Endpoint snap
C. Midpoint snap
D. Center snap

Solution

  1. Step 1: Understand snap functions for crossing points

    Center snap selects circle centers, endpoint snap selects line ends, midpoint snap selects middle of lines, intersection snap selects where two objects cross.
  2. Step 2: Identify snap for crossing point of line and circle

    The crossing point is an intersection, so intersection snap selects it.
  3. Final Answer:

    Intersection snap -> Option A
  4. Quick Check:

    Crossing point = Intersection snap [OK]
Hint: Use intersection snap to pick where objects cross [OK]
Common Mistakes:
  • Using center snap for crossing points
  • Choosing endpoint snap for mid-line intersections
  • Confusing midpoint with intersection
4. You tried to snap to the center of a circle but AutoCAD snaps to the endpoint of a line instead. What is the most likely cause?
medium
A. Intersection snap is overriding center snap
B. The circle is not selected
C. Center snap is not enabled in OSNAP settings
D. Midpoint snap is enabled and active

Solution

  1. Step 1: Check snap settings

    If center snap is off, AutoCAD cannot snap to circle centers and may default to other snaps like endpoint.
  2. Step 2: Understand snapping priority

    Without center snap enabled, snapping to circle centers is impossible, so endpoint snap may activate instead.
  3. Final Answer:

    Center snap is not enabled in OSNAP settings -> Option C
  4. Quick Check:

    Missing center snap = wrong snap point [OK]
Hint: Always enable needed snaps in OSNAP before snapping [OK]
Common Mistakes:
  • Assuming circle must be selected first
  • Thinking intersection snap overrides center snap
  • Confusing midpoint snap with center snap
5. You want to draw a rectangle precisely centered on a circle. Which combination of snaps should you use to place the rectangle correctly?
hard
A. Endpoint snap on circle edge, then intersection snap on rectangle corners
B. Intersection snap on circle and rectangle edges, then endpoint snap on rectangle corners
C. Midpoint snap on circle circumference, then center snap on rectangle center
D. Center snap to find circle center, then midpoint snap on rectangle edges

Solution

  1. Step 1: Find the circle center

    Use center snap to pick the exact center point of the circle.
  2. Step 2: Align rectangle using midpoint snap

    Use midpoint snap on rectangle edges to align it centered on the circle.
  3. Final Answer:

    Center snap to find circle center, then midpoint snap on rectangle edges -> Option D
  4. Quick Check:

    Center + midpoint snaps = precise centered placement [OK]
Hint: Use center snap first, then midpoint snap to align shapes [OK]
Common Mistakes:
  • Using endpoint snap on circle instead of center
  • Confusing intersection snap with midpoint snap
  • Trying to snap rectangle center without midpoint snap
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard