ASSIGN_DISTANCE_ATTRIBUTE

Prompt you to digitize two points and assign the distance between them 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 three-dimensional distance from the first point to the cursor position in the message bar. The stored value is the three-dimensional distance between the two points, using the drawing window's number of decimal places.

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. The three-dimensional distance is the square root of the sum of the squared geodesic distance on the ellipsoid, in meters, and the squared difference between the two points' stored Z elevations, calculated without converting the unit of those elevations. 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_AZIMUTH_ATTRIBUTE
COPY_BBDD_ENTITY_ATTRIBUTE_TO_ENTITY
Internal name {7FBAEDDF-62A4-41BF-AE3D-543EB8E0784F}