Bird
Raised Fist0
AutoCADbi_tool~10 mins

Setting viewport scale 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 set the viewport scale to 1:50.

AutoCAD
viewport.Scale = [1]
Drag options to blanks, or click blank then click option'
A50
B1/50
C0.02
D50:1
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using '50' instead of 0.02 as scale value.
Using '50:1' which is not a valid numeric scale.
2fill in blank
medium

Complete the code to set the viewport scale to 1:100.

AutoCAD
viewport.Scale = [1]
Drag options to blanks, or click blank then click option'
A10
B0.01
C1/10
D100
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using '100' instead of 0.01.
Confusing 1:100 with 100:1.
3fill in blank
hard

Fix the error in setting the viewport scale to 1:25.

AutoCAD
viewport.Scale = [1]
Drag options to blanks, or click blank then click option'
A0.04
B25
C1/2.5
D0.25
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using '25' which is the inverse scale.
Using '0.25' which corresponds to 1:4 scale.
4fill in blank
hard

Fill both blanks to set the viewport scale to 1:200 and print the scale value.

AutoCAD
viewport.Scale = [1]
print('Viewport scale set to:', [2])
Drag options to blanks, or click blank then click option'
A0.005
Bviewport.Scale
C0.02
D1/200
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using 0.02 which is 1:50 scale.
Printing the wrong variable instead of viewport.Scale.
5fill in blank
hard

Fill all three blanks to set the viewport scale to 1:75, check if scale is less than 0.02, and print a warning if true.

AutoCAD
viewport.Scale = [1]
if viewport.Scale [2] [3]:
    print('Warning: Scale is smaller than 1:50')
Drag options to blanks, or click blank then click option'
A0.0133
B<
C0.02
D>
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using '>' instead of '<' in the condition.
Using 0.02 as the scale instead of 0.0133.

Practice

(1/5)
1. What does setting the viewport scale in AutoCAD control?
Viewport Scale affects which aspect of your drawing?
easy
A. How the drawing size fits on the paper
B. The color of the drawing lines
C. The layer visibility in the drawing
D. The file size of the drawing

Solution

  1. Step 1: Understand viewport scale purpose

    Viewport scale controls how the drawing is sized relative to the paper in layout view.
  2. Step 2: Identify what changes with scale

    Changing viewport scale changes the visible size of the drawing on paper, not colors or layers.
  3. Final Answer:

    How the drawing size fits on the paper -> Option A
  4. Quick Check:

    Viewport scale = drawing size on paper [OK]
Hint: Viewport scale sets drawing size on paper, not colors or layers [OK]
Common Mistakes:
  • Confusing scale with color or layer settings
  • Thinking scale changes file size
  • Assuming scale affects line thickness
2. Which of the following is the correct way to set viewport scale in AutoCAD using the Properties palette?
easy
A. Use the Zoom command inside the viewport
B. Type SCALE in command line and enter scale factor
C. Select viewport, then change 'Standard Scale' in Properties
D. Right-click viewport and choose 'Change Layer'

Solution

  1. Step 1: Identify setting scale via Properties

    In AutoCAD, selecting the viewport and changing 'Standard Scale' in Properties sets the viewport scale.
  2. Step 2: Differentiate from other commands

    Typing SCALE affects objects, not viewport scale; changing layer or zoom does not set scale.
  3. Final Answer:

    Select viewport, then change 'Standard Scale' in Properties -> Option C
  4. Quick Check:

    Properties palette = set viewport scale [OK]
Hint: Use Properties palette 'Standard Scale' to set viewport scale [OK]
Common Mistakes:
  • Using SCALE command to set viewport scale
  • Trying to change layer to affect scale
  • Using Zoom command instead of scale
3. Given a viewport set to scale 1:50, if the actual object length is 200 units, what length will appear on paper inside the viewport?
medium
A. 4 units
B. 10000 units
C. 50 units
D. 200 units

Solution

  1. Step 1: Understand scale 1:50 meaning

    Scale 1:50 means 1 unit on paper equals 50 units in drawing.
  2. Step 2: Calculate paper length

    Paper length = Drawing length / Scale factor = 200 / 50 = 4 units on paper.
  3. Final Answer:

    4 units -> Option A
  4. Quick Check:

    200 รท 50 = 4 units on paper [OK]
Hint: Divide object length by scale factor for paper length [OK]
Common Mistakes:
  • Multiplying instead of dividing by scale
  • Confusing scale ratio direction
  • Using scale as a percentage
4. You set a viewport scale to 1:100 but the drawing appears zoomed incorrectly. What is the most likely cause?
medium
A. Viewport is not locked after setting scale
B. You used the SCALE command inside the viewport
C. The drawing units are set incorrectly
D. The viewport layer is turned off

Solution

  1. Step 1: Identify common error with viewport scale

    Using the SCALE command inside the viewport changes object size, not viewport scale, causing zoom issues.
  2. Step 2: Differentiate from other causes

    Not locking viewport affects panning but not initial zoom; units or layer off cause different issues.
  3. Final Answer:

    You used the SCALE command inside the viewport -> Option B
  4. Quick Check:

    Scaling inside viewport breaks zoom, use Properties scale [OK]
Hint: Avoid SCALE command inside viewport; use Properties scale [OK]
Common Mistakes:
  • Not locking viewport after scaling
  • Changing drawing units without checking scale
  • Turning off viewport layer accidentally
5. You have a layout with multiple viewports showing different parts of a large site plan. How do you ensure each viewport maintains its scale and view when you move or pan inside it?
hard
A. Turn off all layers except the ones needed in each viewport
B. Use the SCALE command on each viewport after panning
C. Explode the viewport to fix the view
D. Set each viewport scale and then lock the viewport

Solution

  1. Step 1: Set scale for each viewport

    Assign the correct scale to each viewport to control drawing size on paper.
  2. Step 2: Lock each viewport

    Locking prevents accidental zoom or pan changes, keeping the view and scale fixed.
  3. Final Answer:

    Set each viewport scale and then lock the viewport -> Option D
  4. Quick Check:

    Set scale + lock viewport = stable view [OK]
Hint: Always lock viewport after setting scale to keep view fixed [OK]
Common Mistakes:
  • Using SCALE command repeatedly after panning
  • Turning off layers instead of locking viewport
  • Exploding viewport which breaks layout
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