Specifying the maximum number of vertices in a polyline
Follow these steps to specify the maximum number of vertices in a polyline:
- Select 050146 EDIFICIO PRIVADO from the Code toolbar drop-down list.
- Draw a building with mutually orthogonal sides, as described in Digitizing features orthogonal to a specified angle.
- Display the Polyline restrictions toolbar. If it is not active, click here to learn how to display it.
- 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.
- In Enter a value, specify the maximum number of points in the polyline, for example 2.
- Click OK.
- Digitize a polyline in the drawing window and check that it finishes automatically when it reaches two vertices.
- Click Maximum number of points on the Polyline restrictions toolbar to turn it off.
- 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.
- Turn on Maximum number of points and set the maximum number of points to 5.
- Draw a polyline with more than 5 vertices and check that it finishes automatically when it reaches 5.
- 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:
- Check that Maximum number of points is disabled on the Polyline restrictions toolbar.
- Select 050324 MEDIANERIAS from the Code toolbar drop-down list.
- Select 5. Projection or vertex in XYZ from the Snap toolbar drop-down list.
- Click one side of the building with the mouse's snap button.
- Accept with the data button.
- Move the cursor to the opposite side of the building and select that side with the mouse's snap button.
- Click the data button to accept.
- Click the cancel button to finish the command and digitize the party wall line.
Follow these steps to simplify the process:
- Disable Verify on the Snap toolbar by clicking it.
- Click one side of the building with the mouse's snap button. Since Verify is disabled, the snap is confirmed automatically.
- Place the cursor on the opposite side of the building and click it with the mouse's snap button.
- Click the mouse's cancel button to finish the command.
You can simplify the process even further:
- 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.
- Check that Verify is disabled on the Snap toolbar.
- Click one side of the building with the mouse's snap button.
- 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.