Item Type Expression to get Cell origin coordinates


 Product(s):MicroStation
 Version(s):10.17.02.61
 Environment:N\A
 Area:Properties
 Subarea:Item Types

Item Type Expression to get Cell origin coordinates.

Background

Request from User:
Is there an expression to get the X,Y coordinates of a cell. I'm attempting to generate a report with Y, X in its own entry in a table.

Steps to Accomplish

Following expressions can be used to get X,Y,Z coordinates of a cell.

this.GetElement().Origin.X
this.GetElement().Origin.Y
this.GetElement().Origin.Z

Cell properties like Cell Name, Origin are already stored as Element properties.
You need not, additionally store the above expression values as custom properties.

All of the Cell element properties are accessible in Reports feature.
Check this video to report on cell location.

Sample File: communities.bentley.com/.../Cells.dgn

See Also

Item Type Expression to Get Latitude / Longitude

Other language sources

 Original Author:Leonard Jones