## Example

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

cube = project.Contents.Geometry:AddCuboid(cf.Point(0, 0, 0), 1, 1, 1)
cube.Regions[1].Medium = dielectric
cube.Regions[1].SolutionMethod = cf.Enums.RegionSolutionMethodEnum.FEM

--  Add a complex load to the terminal of the line port.

-- Do not include the load

complexLoad.Included = false

## Inheritance

The Load object is derived from the Object object.

## Usage locations

The Load object can be accessed from the following locations:

## Property List

BoundingBox
A box indicating the bounding box of this entity. (Read only Box). (Read only Box)
Capacitance
The capacitive aspect of the series or parallel circuit load definition (F). Changing this property will set CapacitanceEnabled to true. (Read/Write ParametricExpression)
CapacitanceEnabled
Specifies if the Capacitance property should be used. (Read/Write boolean)
CircuitName
The SPICE Circuit name. Setting disables the automatic generation of the name. (Read/Write string)
Filename
The single port Touchstone or SPICE filename that describes the load. (Read/Write FileReference)
ImpedanceImaginary
The reactive part of the complex impedance (Ohm). (Read/Write ParametricExpression)
ImpedanceReal
The real part of the complex impedance (Ohm). (Read/Write ParametricExpression)
Inductance
The inductive aspect of the series or parallel circuit load definition (H). Changing this property will set InductanceEnabled to true. (Read/Write ParametricExpression)
InductanceEnabled
Specifies if the Inductance property should be used. (Read/Write boolean)
Label
Resistance
The resistive aspect of the series or parallel circuit load definition (Ohm). Changing this property will set ResistanceEnabled to true. (Read/Write ParametricExpression)
ResistanceEnabled
Specifies if the Resistance property should be used. (Read/Write boolean)
Type
The object type string. (Read only string)

## Method List

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
Capacitance
The capacitive aspect of the series or parallel circuit load definition (F). Changing this property will set CapacitanceEnabled to true.
Type
ParametricExpression
Access
CapacitanceEnabled
Specifies if the Capacitance property should be used.
Type
boolean
Access
CircuitName
The SPICE Circuit name. Setting disables the automatic generation of the name.
Type
string
Access
Filename
The single port Touchstone or SPICE filename that describes the load.
Type
FileReference
Access
ImpedanceImaginary
The reactive part of the complex impedance (Ohm).
Type
ParametricExpression
Access
ImpedanceReal
The real part of the complex impedance (Ohm).
Type
ParametricExpression
Access
Inductance
The inductive aspect of the series or parallel circuit load definition (H). Changing this property will set InductanceEnabled to true.
Type
ParametricExpression
Access
InductanceEnabled
Specifies if the Inductance property should be used.
Type
boolean
Access
Label
The object label.
Type
string
Access
Type
Access
Resistance
The resistive aspect of the series or parallel circuit load definition (Ohm). Changing this property will set ResistanceEnabled to true.
Type
ParametricExpression
Access
ResistanceEnabled
Specifies if the Resistance property should be used.
Type
boolean
Access
Type
The object type string.
Type
string
Access

## Method Details

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.