Click or drag to resize

AntennaSource Class

Antenna source API class
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseAntennaSource
    ema3d.Api.V25.Core.ExcitationExcitationBaseAntennaSource
      ema3d.Api.V25.Core.ExcitationAntennaSource

Namespace: ema3d.Api.V25.Core.Excitation
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class AntennaSource : ExcitationBase<AntennaSource>

The AntennaSource type exposes the following members.

Properties
 NameDescription
Public propertyDisplayName Antenna Source display name.
(Overrides APISimObjectBaseTWrapperDisplayName)
Public propertyDocument The document an object exists in.
(Inherited from ExcitationBaseT)
Public propertyEnd Gets end location of excitated region (0-length)
Public propertyExcitedPosition Gets/Sets excited segment location.
Public propertyExcitedSegment Gets excited segment
Public propertyInductance Gets/Sets inductance of antenna (S / m)
Public propertyPortImpedance Gets/Sets the port impedance of antenna (ohms)
Public propertyRadius Gets/Sets radius of the antenna.
Public propertyResistance Gets/Sets resistance of antenna (Ohm / m)
Public propertySegments Gets/Sets segments defining the antenna's geometry.
Public propertySeriesBC Gets/Sets if pin voltage is in series with circuit boundary.
Public propertySimulation The Simulation an object exists in.
(Inherited from ExcitationBaseT)
Public propertySourceGeometry Gets/Sets allowable location for excitation node
Public propertySourceType Gets/Sets type of antenna source.
Public propertyStart Get starts location of excited location (0-length)
Top
Methods
 NameDescription
Public methodStatic memberCreate Gets the antenna source instance in a document or creates one if it does not exist.
Public methodDelete Deletes sim object.
(Inherited from APISimObjectBaseTWrapper)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetAll Retrieve all AntennaSource objects in the document.
Public methodStatic memberGetByDisplayName Get AntennaSource by display name
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetName Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodGetSiblings Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetName Sets the name of the object
(Inherited from APISimObjectBaseTWrapper)
Public methodSetVisibility Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
from ema3d.Api.V25.Core.Excitation import AntennaSource as AntennaSource
from ema3d.Api.V25.Cabling import SegmentLocation as SegmentLocation

# Set Sketch Plane
result = ViewHelper.SetSketchPlane(Plane.PlaneXY)
# Sketch Rectangle
point1 = Point2D.Create(MM(-10),MM(-10))
point2 = Point2D.Create(MM(10),MM(-10))
result = SketchLine.Create(point1, point2)
# Solidify Sketch
ViewHelper.SetViewMode(InteractionMode.Solid)
resCurve = result.CreatedCurves[0]

# Set Thin Gap
resLoc = SegmentLocation(resCurve, 0.0)
antsource = AntennaSource.Create({resCurve},
                                 resLoc,
                                 Window.ActiveWindow.Document)
antsource.DisplayName = "Test Antenna Source"
antsource.Radius = 3e-3
See Also