AnisotropicDielectricLayersCollection

A collection of layers for the layered anisotropic dielectric medium.

Example

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

dielectric1 = project.Media:AddDielectric()
dielectric2 = project.Media:AddDielectric()

layeredAnisotropicDielectric = 
    project.Media:AddLayeredAnisotropicDielectric({0.1},{0.0},{dielectric1},{dielectric2})

    -- Use the collection to add and remove anisotropic dielectric layers
    
layeredAnisotropicDielectric.Layers:Add(0.1,0,dielectric1,dielectric2)
layeredAnisotropicDielectric.Layers:Remove(2)

Usage locations (collections)

The following objects contain the AnisotropicDielectricLayersCollection collection:

Property List

Count
The number of AnisotropicDielectricLayers items in the collection. (Read only number)

Method List

Add (thickness Expression, direction Expression, principlemedium Dielectric, orthogonalmedium Dielectric)
Add a layer with the given properties to the layered anisotropic dielectric medium.
Item (index number)
Returns the AnisotropicDielectricLayers at the given index. (Returns a AnisotropicDielectricLayers object.)
Modify (index number, thickness Expression, direction Expression, principlemedium Dielectric, orthogonalmedium Dielectric)
Modify the layer at the given index.
Remove (index number)
Remove the layer at the given index.

Index List

[number]
Returns the AnisotropicDielectricLayers at the given index in the collection. (Read AnisotropicDielectricLayers)

Property Details

Count
The number of AnisotropicDielectricLayers items in the collection.
Type
number
Access
Read only

Method Details

Add (thickness Expression, direction Expression, principlemedium Dielectric, orthogonalmedium Dielectric)
Add a layer with the given properties to the layered anisotropic dielectric medium.
Input Parameters
thickness(Expression)
The layer thickness (in the model unit).
direction(Expression)
The angle (in degrees) from which the principle direction is obtained.
principlemedium(Dielectric)
The dielectric medium in the principle direction.
orthogonalmedium(Dielectric)
The dielectric medium in the orthogonal direction.
Item (index number)
Returns the AnisotropicDielectricLayers at the given index.
Input Parameters
index(number)
The index of the AnisotropicDielectricLayers.
Return
AnisotropicDielectricLayers
The AnisotropicDielectricLayers at the given index.
Modify (index number, thickness Expression, direction Expression, principlemedium Dielectric, orthogonalmedium Dielectric)
Modify the layer at the given index.
Input Parameters
index(number)
The layer index.
thickness(Expression)
The layer thickness (in the model unit).
direction(Expression)
The angle (in degrees) from which the principle direction is obtained.
principlemedium(Dielectric)
The dielectric medium in the principle direction.
orthogonalmedium(Dielectric)
The dielectric medium in the orthogonal direction.
Remove (index number)
Remove the layer at the given index.
Input Parameters
index(number)
The layer index.