Rectangle by Edge - 2 Points and a Width

Description

Create a line in the form of a rectangle using two points to define the corners and a width.

Required
  • Two points with the same feature code that define two corners of a rectangle edge.
  • The width of the rectangle.
Parameters

{1} is the width of the rectangle.

Example

Control Code Definition
A control code action Rectangle By Edge is assigned a value '{RectBy2Pt} {1}'.

Measured Points
The first point (pt 3) is assigned a code 'TPIT RectBy2Pt 50', where 'TPIT' is the feature code for a telecom pit.
The second point (pt 10) is assigned a code 'TPIT'.
Rectangle by Edge

Notes
  • Heights of the 2 points in the rectangle are used to determine the two computed vertices.
  • A positive width value draws a rectangle to the right of the line formed by joining the two points. A negative value draws a rectangle to the left.
  • The width is considered grid distance.
  • You can input the width in the code or as an attribute, depending on the definition in Edit Control Codes.
Related topics

Top of page TOP OF PAGE