ASSIGN_AZIMUTH_ATTRIBUTE

Prompt you to digitize two points and assign the azimuth to the database field specified by the parameters.

Parameters

Parameter number Description Optional
1 Code No
2 Field name No

Notes

The command assigns the field value in the code's active attribute list, like ASSIGN_ATTRIBUTE. It does not modify existing entities.

As you move the cursor after entering the first point, the command displays the azimuth of the cursor position relative to the first point in the message bar. The stored value is the azimuth of the second point relative to the first (measured clockwise from north, from 0 degrees inclusive to 360 degrees exclusive), in degrees, using the drawing window's number of decimal places. To store the trigonometric angle (measured counterclockwise from the X axis), use ASSIGN_ANGLE_ATTRIBUTE.

If the drawing window's horizontal coordinate reference system is geographic, the command interprets the points' longitude and latitude in the system's angular unit and calculates the azimuth using the geodesic on the ellipsoid, measured at the first point. For more information, see Coordinates, distances, angles, and areas for commands run in the drawing window.

If either parameter is missing, the command sounds an error tone and ends.

Command characteristics

Command type Interactive command
Repeats automatically No
Menu option This command has no associated menu option
Toolbar This command has no associated toolbar button
Extension DigiNG.OrdenesBaseDatos.dll
Implementation Native
Related variables No related variables
Related commands ASSIGN_ATTRIBUTE
ASSIGN_FIELD_VALUE_BBDD_ENTITY
ASSIGN_ANGLE_ATTRIBUTE
ASSIGN_DISTANCE_ATTRIBUTE
COPY_BBDD_ENTITY_ATTRIBUTE_TO_ENTITY
Internal name {0FDBA0D4-71F6-4520-8E77-4FE4077536EC}