Dimension

A dimension is a measurable extent of some kind, such as height or length.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

    -- Create a 'NearFieldFileStructure' from a set of default properties

properties = cf.NearFieldDataFileStructure.GetDefaultProperties()
properties.CoordinateType = cf.Enums.NearFieldDataCoordinateTypeEnum.Cartesian
properties.CartesianStructure.Height = "2"
properties.CartesianStructure.Width = "2"
properties.CartesianStructure.UPoints = "11"
properties.CartesianStructure.VPoints = "11"
properties.EFieldFilename = [[EFieldFileName]]
properties.HFieldFilename = [[HFieldFileName]]
nearFieldData =
project.Definitions.FieldDataList:AddNearFieldDataFileStructure(properties)

    -- Change the height of the cartesian face

nearFieldData.CartesianStructure.Height = "4"

Inheritance

The Dimension object is derived from the ParametricExpression object.

The following objects are derived (specialisations) from the Dimension object:

Usage locations

The Dimension object can be accessed from the following locations: