 | AntennaSourceCreate Method |
Gets the antenna source instance in a document or creates one if it does not exist.
Namespace: ema3d.Api.V25.Core.ExcitationAssembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntaxpublic static AntennaSource Create(
ISet<IHasTrimmedCurve> geometry,
SegmentLocation excitationLocation,
Document doc,
Simulation simulation = null
)
Public Shared Function Create (
geometry As ISet(Of IHasTrimmedCurve),
excitationLocation As SegmentLocation,
doc As Document,
Optional simulation As Simulation = Nothing
) As AntennaSource
public:
static AntennaSource^ Create(
ISet<IHasTrimmedCurve^>^ geometry,
SegmentLocation^ excitationLocation,
Document^ doc,
Simulation^ simulation = nullptr
)
static member Create :
geometry : ISet<IHasTrimmedCurve> *
excitationLocation : SegmentLocation *
doc : Document *
?simulation : Simulation
(* Defaults:
let _simulation = defaultArg simulation null
*)
-> AntennaSource
Parameters
- geometry ISetIHasTrimmedCurve
- Geometry to create the antenna source on.
- excitationLocation SegmentLocation
- Location of the excitation
- doc Document
- Document to get plane wave instance from, defaults to Active Window.
- simulation Simulation (Optional)
- Simulation to get plane wave instance from, defaults to Current Simulation.
Return Value
AntennaSourceAntenna Source instance in given document and simulation.
See Also