# Creating a Second Dielectric Medium

Create a second dielectric medium by searching and navigating the documentation.

The second dielectric is defined using the AddDielectric (properties) method. With this method a temporary table is first created with all the (minimum) required settings for the dielectric. After the table is created, we define the conductivity.
1. Find Dielectric (object) in the integrated help, see Step 1.

To know which properties to set for any object, we use the static function GetDefaultProperties().

1. Create a dielectric with default properties using the following syntax:
my_diel2_properties = cf.Dielectric.GetDefaultProperties()
2. Use the inspect function to print the properties to screen.
inspect(my_diel2_properties)
The screen output is as follows:
Tip: Only modify the relevant properties and apply the modified table to the handle, myDiel2.
The inspect output shows that the property, ConductivityType is set to LossTangent.
3. Navigate to the .ConductivityType property in the integrated help.
Note: Use MediumDielectricConductivityEnum to set the .ConductivityType property.
Note: You have the option to specify either the LossTangent or Conductivity. For this example, we will use Conductivity.
5. Change to Conductivity using the following syntax.
myDiel2Properties.DielectricModelling.ConductivityType = cf.Enums.MediumDielectricConductivityTypeEnum.Conductivity
6. Specify the conductivity, relative permittivity and label of the second dielectric:
my_diel2_properties.DielectricModelling.Conductivity = "1e-2"
my_diel2_properties.DielectricModelling.RelativePermittivity = "2.5"
my_diel2_properties.Label = "substrate2"
my_diel2 = myProject.Media:AddDielectric(my_diel2_properties)
7. Run the script created up to this point to view the progress in the GUI.
Note: Observe the two dielectrics in the construct tree.