Edit

Specifying the maximum number of vertices in a polyline

Follow these steps to specify the maximum number of vertices in a polyline:

  1. Select 050146 EDIFICIO PRIVADO from the Code toolbar drop-down list.
  2. Draw a building with mutually orthogonal sides, as described in Digitizing features orthogonal to a specified angle.
  3. Display the Polyline restrictions toolbar. If it is not active, click here to learn how to display it.
  4. Click the third button on the Polyline restrictions toolbar, Maximum number of points, to set the maximum number of points in the polyline you are digitizing.
  5. In Enter a value, specify the maximum number of points in the polyline, for example 2.
  6. Click OK.
  7. Digitize a polyline in the drawing window and check that it finishes automatically when it reaches two vertices.
  8. Click Maximum number of points on the Polyline restrictions toolbar to turn it off.
  9. Draw a polyline by clicking the drawing window. With the point limit disabled, the polyline can have as many vertices as you want. Click the cancel button to finish it.
  10. Turn on Maximum number of points and set the maximum number of points to 5.
  11. Draw a polyline with more than 5 vertices and check that it finishes automatically when it reaches 5.
  12. Even with Maximum number of points active, you can digitize polylines with fewer points than the specified maximum. Try digitizing a polyline with 3 vertices, then click the mouse's cancel button to finish the command.

The maximum number of points is often specified when drawing party wall lines:

  1. Check that Maximum number of points is disabled on the Polyline restrictions toolbar.
  2. Select 050324 MEDIANERIAS from the Code toolbar drop-down list.
  3. Select 5. Projection or vertex in XYZ from the Snap toolbar drop-down list.
  4. Click one side of the building with the mouse's snap button.
  5. Accept with the data button.
  6. Move the cursor to the opposite side of the building and select that side with the mouse's snap button.
  7. Click the data button to accept.
  8. Click the cancel button to finish the command and digitize the party wall line.

Follow these steps to simplify the process:

  1. Disable Verify on the Snap toolbar by clicking it.
  2. Click one side of the building with the mouse's snap button. Since Verify is disabled, the snap is confirmed automatically.
  3. Place the cursor on the opposite side of the building and click it with the mouse's snap button.
  4. Click the mouse's cancel button to finish the command.

You can simplify the process even further:

  1. Set the maximum number of vertices to 2 (party wall lines always have two vertices) by clicking Maximum number of points on the Polyline restrictions toolbar.
  2. Check that Verify is disabled on the Snap toolbar.
  3. Click one side of the building with the mouse's snap button.
  4. Move to the opposite side and snap to it with the mouse's snap button.
    • You have digitized a line with just two mouse clicks.

Notes

Running the code command automatically disables the maximum number of points variable. Click here for more information about the code command.

Video