Bird
Raised Fist0
AutoCADbi_tool~10 mins

Boolean operations (UNION, SUBTRACT, INTERSECT) 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 perform a union of two 3D solids named solid1 and solid2.

AutoCAD
result = solid1.[1](solid2)
Drag options to blanks, or click blank then click option'
Asubtract
Bunion
Ccombine
Dintersect
Attempts:
3 left
💡 Hint
Common Mistakes
Using subtract instead of union causes removal of one solid from another.
Using intersect returns only the overlapping volume.
2fill in blank
medium

Complete the code to subtract solid2 from solid1.

AutoCAD
result = solid1.[1](solid2)
Drag options to blanks, or click blank then click option'
Aunion
Bintersect
Csubtract
Dmerge
Attempts:
3 left
💡 Hint
Common Mistakes
Using union adds volumes instead of removing.
Using intersect returns only the overlapping volume.
3fill in blank
hard

Fix the error in the code to get the intersection of solid1 and solid2.

AutoCAD
result = solid1.[1](solid2)
Drag options to blanks, or click blank then click option'
Aintersect
Bcombine
Cunion
Dsubtract
Attempts:
3 left
💡 Hint
Common Mistakes
Using union merges volumes instead of finding overlap.
Using subtract removes volume instead of finding overlap.
4fill in blank
hard

Fill both blanks to perform a union followed by subtracting solid3 from the result.

AutoCAD
temp = solid1.[1](solid2)
final_result = temp.[2](solid3)
Drag options to blanks, or click blank then click option'
Aunion
Bsubtract
Cintersect
Dcombine
Attempts:
3 left
💡 Hint
Common Mistakes
Reversing the order of operations.
Using intersect instead of union or subtract.
5fill in blank
hard

Fill all three blanks to create an intersection of solid1 and solid2, then subtract solid3 from it.

AutoCAD
intersected = solid1.[1](solid2)
result = intersected.[2](solid3)
print(result.[3]())
Drag options to blanks, or click blank then click option'
Aintersect
Bsubtract
Cvolume
Dunion
Attempts:
3 left
💡 Hint
Common Mistakes
Using union instead of intersect.
Forgetting to calculate volume at the end.

Practice

(1/5)
1. Which Boolean operation in AutoCAD combines two 3D solids into one by adding their volumes together?
easy
A. SUBTRACT
B. DIVIDE
C. INTERSECT
D. UNION

Solution

  1. Step 1: Understand Boolean operations

    Boolean operations modify 3D solids by combining or removing parts.
  2. Step 2: Identify the operation that adds volumes

    UNION merges two solids into one by adding their volumes together.
  3. Final Answer:

    UNION -> Option D
  4. Quick Check:

    Adding volumes = UNION [OK]
Hint: UNION always adds volumes together [OK]
Common Mistakes:
  • Confusing SUBTRACT with UNION
  • Thinking INTERSECT adds volumes
  • Choosing DIVIDE which is unrelated
2. Which of the following is the correct syntax to subtract one 3D solid from another in AutoCAD?
easy
A. SUBTRACT solid2 FROM solid1
B. SUBTRACT solid1, solid2
C. SUBTRACT solid1 FROM solid2
D. SUBTRACT solid1 solid2

Solution

  1. Step 1: Recall SUBTRACT command syntax

    In AutoCAD, the syntax is SUBTRACT solid2 FROM solid1 to remove solid2 from solid1.
  2. Step 2: Match syntax options

    SUBTRACT solid2 FROM solid1 matches the correct syntax with 'FROM' keyword in correct order.
  3. Final Answer:

    SUBTRACT solid2 FROM solid1 -> Option A
  4. Quick Check:

    Correct SUBTRACT syntax uses FROM [OK]
Hint: Remember: SUBTRACT target FROM base [OK]
Common Mistakes:
  • Reversing the order of solids
  • Omitting the FROM keyword
  • Using commas instead of spaces
3. Given two overlapping 3D solids A and B, what will the INTERSECT operation produce?
medium
A. A new solid representing the volume common to both A and B
B. A solid that is the combination of A and B volumes
C. A solid with B removed from A
D. Two separate solids unchanged

Solution

  1. Step 1: Understand INTERSECT operation

    INTERSECT returns the volume shared by both solids, the overlapping part.
  2. Step 2: Analyze options

    A new solid representing the volume common to both A and B correctly describes the common volume. A solid that is the combination of A and B volumes describes UNION, a solid with B removed from A describes SUBTRACT, two separate solids describes no operation.
  3. Final Answer:

    A new solid representing the volume common to both A and B -> Option A
  4. Quick Check:

    INTERSECT = common volume [OK]
Hint: INTERSECT keeps only overlapping parts [OK]
Common Mistakes:
  • Confusing INTERSECT with UNION
  • Thinking INTERSECT removes parts
  • Assuming no change occurs
4. You tried to subtract solid B from solid A using SUBTRACT solid1 solid2 but got an error. What is the likely cause?
medium
A. Solids are not overlapping
B. Using UNION instead of SUBTRACT
C. Missing the FROM keyword between solids
D. Solid names are case sensitive

Solution

  1. Step 1: Check SUBTRACT command syntax

    SUBTRACT requires the syntax: SUBTRACT solid2 FROM solid1. Missing FROM causes error.
  2. Step 2: Analyze error cause

    Missing the FROM keyword between solids correctly identifies missing FROM keyword as the cause. Other options are unrelated to syntax error.
  3. Final Answer:

    Missing the FROM keyword between solids -> Option C
  4. Quick Check:

    SUBTRACT needs FROM keyword [OK]
Hint: Always include FROM in SUBTRACT command [OK]
Common Mistakes:
  • Omitting FROM keyword
  • Confusing command names
  • Assuming case sensitivity causes error
5. You have two solids: a cube and a cylinder overlapping partially. You want to create a new solid that is the cube with the cylinder's overlapping part removed, then add a sphere on top. Which sequence of Boolean operations should you use?
hard
A. UNION cube and cylinder, then SUBTRACT sphere
B. SUBTRACT cylinder FROM cube, then UNION with sphere
C. INTERSECT cube and cylinder, then UNION with sphere
D. SUBTRACT cube FROM cylinder, then INTERSECT with sphere

Solution

  1. Step 1: Remove cylinder's overlapping part from cube

    Use SUBTRACT cylinder FROM cube to cut out the cylinder's volume from the cube.
  2. Step 2: Add sphere on top

    Use UNION to combine the modified cube with the sphere, creating one solid.
  3. Final Answer:

    SUBTRACT cylinder FROM cube, then UNION with sphere -> Option B
  4. Quick Check:

    Remove then add = SUBTRACT then UNION [OK]
Hint: Subtract first, then union to add shapes [OK]
Common Mistakes:
  • Reversing SUBTRACT order
  • Using INTERSECT instead of SUBTRACT
  • Adding before subtracting
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