# ModelAttributes

The model attributes.

## Example

app = cf.GetApplication()
project = app:NewProject()

-- Modify the unit of the model to mm

project.ModelAttributes.Unit = cf.Enums.ModelUnitEnum.Millimetres

## Usage locations (object properties)

The following objects have properties using the ModelAttributes object:

## Property List

ExtentsExponent
Specifies the decimal exponent [-4, 5] for the model extents. This will specify the maximum coordinate which gives the largest offset -- in either direction -- along any of the three axes. For example, if the decimal exponent is 2 the maximum coordinate is 500, then the entire geometry must fit inside a 1000x1000x1000 box centred at the origin. (Read/Write number)
Unit
The unit used for all distances and dimensions specified by the ModelUnitEnum, e.g. Meters, Feet, etc. (Read/Write ModelUnitEnum)
UnitFactor
An arbitrary unit conversion factor with respect to metres. The value is only valid when ModelUnit is set to Specified. (Read/Write Expression)

## Property Details

ExtentsExponent
Specifies the decimal exponent [-4, 5] for the model extents. This will specify the maximum coordinate which gives the largest offset -- in either direction -- along any of the three axes. For example, if the decimal exponent is 2 the maximum coordinate is 500, then the entire geometry must fit inside a 1000x1000x1000 box centred at the origin.
Type
number
Access