create_source_excitation#

Hfss.create_source_excitation(assignment: str, point1: list, point2: list, name: str, source_type: str | None = 'Voltage') NearFieldSetup#

Create a source excitation.

Parameters:
assignmentstr

Name of the sheet.

point1list

First point of the source excitation.

point2list

Second point of the source excitation.

namestr

Name of the source.

source_typestr, optional

Type of the source. The default is "Voltage".

Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject

Boundary object.

References

>>> oModule.AssignVoltage
>>> oModule.AssignCurrent