IsotropicDielectricLayersCollection

A collection of layers for the layered dielectric medium.

Example

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

dielectric = project.Media:AddDielectric()

layeredDielectric = project.Media:AddLayeredDielectric({0.1},{dielectric})

    -- Use the collection to add and remove isotropic dielectric layers
    
layeredDielectric.Layers:Add(0.1,dielectric)
layeredDielectric.Layers:Remove(2)

Usage locations (collections)

The following objects contain the IsotropicDielectricLayersCollection collection:

Property List

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

Method List

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

Index List

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

Property Details

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

Method Details

Add (thickness Expression, medium Dielectric)
Add a layer with the given properties to the layered dielectric medium.
Input Parameters
thickness(Expression)
The layer thickness (in the model unit).
medium(Dielectric)
The dielectric medium.
Item (index number)
Returns the IsotropicDielectricLayers at the given index.
Input Parameters
index(number)
The index of the IsotropicDielectricLayers.
Return
IsotropicDielectricLayers
The IsotropicDielectricLayers at the given index.
Modify (index number, thickness Expression, medium Dielectric)
Modify the layer at the given index.
Input Parameters
index(number)
The layer index.
thickness(Expression)
The layer thickness (in the model unit).
medium(Dielectric)
The dielectric medium.
Remove (index number)
Remove the layer at the given index.
Input Parameters
index(number)
The layer index.