Geometric Options

Autodesk Expression Builder

 
Geometric Options
 
 
 

Geometric options are available from the Geometric menu. They calculate the length of lines and the perimeters or areas of polygons in a particular feature layer. These options perform calculations on fields in the data store, but the results of these calculations are not saved back to the data store. In AutoCAD Map, you can create a calculated field to store this information. These functions are available for every data provider except for raster, WFS, and WMS providers.

To use these options, select the object whose length or area you want, and then create the exact expression shown in the example below. Do not replace the argumentGeometry with an actual vaue.

Option Definition Syntax Example

LENGTH2D

Calculates the length of lines and perimeters of polygons

LENGTH2D(Geometry)

LENGTH2D(Geometry)

AREA2D

Calculates the area of a polygon

AREA2D(Geometry)

AREA2D(Geometry)