LinearPlanarArray

A finite antenna array with a planar or linear distribution.

Example

application = cf.Application.getInstance()
project = application:NewProject()
antennaArrays = project.Contents.SolutionSettings.AntennaArrays
    -- Create a 2x3 planar array

offsetU = 3
offsetV = 4
array = antennaArrays:AddPlanarArray(2, offsetU, 3, offsetV)

    -- Set a non-uniform source distribution

array.UniformSourceDistributionEnabled = false
array.Distribution[1].MagnitudeScaling = "1.5"
array.Distribution[1].PhaseOffset = "45"
array.Distribution[6].MagnitudeScaling = "1.5"
array.Distribution[6].PhaseOffset = "90"

Inheritance

The LinearPlanarArray object is derived from the AbstractAntennaArray object.

Property List

BoundingBox
A box indicating the bounding box of this entity. (Read only Box). (Read only Box)
CountU
The number of finite antenna array elements in the U dimension. (Read/Write number)
CountV
The number of finite antenna array elements in the V dimension. (Read/Write number)
Distribution
The collection of finite antenna array element sources. Only applicable if UniformSourceDistributionEnabled is false. (Read/Write AntennaArraySourceList)
Label
The object label. (Read/Write string)
LocalWorkplane
The source workplane. (Read/Write LocalWorkplane)
OffsetU
The distance between the finite antenna array elements along the U axis. (Read/Write ParametricExpression)
OffsetV
The distance between the finite antenna array elements along the V axis. (Read/Write ParametricExpression)
Type
The object type string. (Read only string)
UniformSourceDistributionEnabled
The finite array elements will either have an uniform distribution or the distribution will be calculated from the plane wave if a plane wave is present in the model. If it is set to false, the source of each element can be specified. (Read/Write boolean)
Visible
Specifies whether the geometry must be shown or hidden. (Read/Write boolean)

Collection List

Transforms
The collection of transforms on the operator. (TransformCollection of Transform.)

Method List

ConvertToCustomArray ()
Convert the finite antenna array into a collection of individual custom array elements. (Returns a List of CustomAntennaArray object.)
CopyAndMirror (properties table)
Apply a copy and mirror using a table defining the properties. (Returns a List of Object object.)
CopyAndRotate (properties table, count number)
Apply a copy and rotate using a table defining the properties. (Returns a List of Object object.)
CopyAndRotate (origin Point, rotationaxis Vector, angle number, count number)
Copy and rotate the geometry. (Returns a List of Object object.)
CopyAndTranslate (properties table, count number)
Apply a copy and translate using a table defining the properties. (Returns a List of Object object.)
CopyAndTranslate (from Point, to Point, count number)
Copy and translate the geometry. (Returns a List of Object object.)
Delete ()
Deletes the entity.
Duplicate ()
Duplicates the entity. (Returns a Object object.)
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
SetProperties (properties Object)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.

Static Function List

GetDefaultProperties ()
Creates a table containing the default settings to create an object. (Returns a table object.)

Property Details

BoundingBox
A box indicating the bounding box of this entity. (Read only Box).
Type
Box
Access
Read only
CountU
The number of finite antenna array elements in the U dimension.
Type
number
Access
Read/Write
CountV
The number of finite antenna array elements in the V dimension.
Type
number
Access
Read/Write
Distribution
The collection of finite antenna array element sources. Only applicable if UniformSourceDistributionEnabled is false.
Type
AntennaArraySourceList
Access
Read/Write
Label
The object label.
Type
string
Access
Read/Write
LocalWorkplane
The source workplane.
Type
LocalWorkplane
Access
Read/Write
OffsetU
The distance between the finite antenna array elements along the U axis.
Type
ParametricExpression
Access
Read/Write
OffsetV
The distance between the finite antenna array elements along the V axis.
Type
ParametricExpression
Access
Read/Write
Type
The object type string.
Type
string
Access
Read only
UniformSourceDistributionEnabled
The finite array elements will either have an uniform distribution or the distribution will be calculated from the plane wave if a plane wave is present in the model. If it is set to false, the source of each element can be specified.
Type
boolean
Access
Read/Write
Visible
Specifies whether the geometry must be shown or hidden.
Type
boolean
Access
Read/Write

Collection Details

Transforms
The collection of transforms on the operator.
Type
TransformCollection

Method Details

ConvertToCustomArray ()
Convert the finite antenna array into a collection of individual custom array elements.
Return
List of CustomAntennaArray
The list of antenna array elements.
CopyAndMirror (properties table)
Apply a copy and mirror using a table defining the properties.
Input Parameters
properties(table)
A table of properties defining the mirror transform.
Return
List of Object
The mirrored geometry.
CopyAndRotate (properties table, count number)
Apply a copy and rotate using a table defining the properties.
Input Parameters
properties(table)
A table of properties defining the rotate transform.
count(number)
The number of transform copies.
Return
List of Object
The list of rotated geometry.
CopyAndRotate (origin Point, rotationaxis Vector, angle number, count number)
Copy and rotate the geometry.
Input Parameters
origin(Point)
The coordinates of the origin of the rotation.
rotationaxis(Vector)
The axis of rotation.
angle(number)
The angle of rotation (degrees).
count(number)
The number of copies.
Return
List of Object
The list of rotated geometry.
CopyAndTranslate (properties table, count number)
Apply a copy and translate using a table defining the properties.
Input Parameters
properties(table)
A table of properties defining the translate transform.
count(number)
The number of transform copies.
Return
List of Object
The list of translated geometry.
CopyAndTranslate (from Point, to Point, count number)
Copy and translate the geometry.
Input Parameters
from(Point)
Translate from coordinate.
to(Point)
Translate to coordinate.
count(number)
The number of copies.
Return
List of Object
The list of translated geometry.
Delete ()
Deletes the entity.
Duplicate ()
Duplicates the entity.
Return
Object
The new (duplicated) entity.
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
Return
table
A table defining the properties.
SetProperties (properties Object)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Input Parameters
properties(Object)
A table of properties defining the new state of the object.

Static Function Details

GetDefaultProperties ()
Creates a table containing the default settings to create an object.
Return
table
A table containing the default properties.