Description | Example | Return message | Group

RfChannelModelerGraphics

For the Ansys RF Channel Modeler plugin, use this command to set values for graphics.

Syntax

RfChannelModelerGraphics SetValue <AttributePath> <Value>

Related commands

Description

For the RF Channel Modeler plugin, use this command to set values for graphics quantities such as antenna boundaries and analysis extents. Enter a value for the attribute specified by AttributePath.

For radar imaging, you should first ensure that AnalysisConfigurationList[#].ModelType is set to either "Radar SAR" or "Radar ISAR" and AnalysisConfigurationList[#].ImagingDataProductList[#].EnableImaging is set to True.

The # sign for lists denotes the instance number of that item, with 0 being the first instance. So AnalysisConfigurationList[0] would be the first analysis configuration in the scenario, and ImagingDataProductsList[3] would be the Imaging Data Products group for the fourth analysis configuration in the scenario.

Then, you can set the image size using the parameters RangeSize and CrossRangeSize.

To have the RF Channel Modeler plugin generate an imaging grid to your specification, you must decide two of the three parameter types for the software to use. You do this by choosing one of following three types to exclude.

TotalSpan

LineCount

LineSpacing

Thus, setting GridComputeMode to "LineSpacing" tells the RF Channel Modeler plugin to use TotalSpan and LineCount to generate the grid. You then add commands to specify values in range and cross-range for TotalSpan and LineCount.

Examples

Show the second transceiver in the scenario, which has an FFD antenna, in the STK 3D Graphics window

RfChannelModelerGraphics * SetValue TransceiverGraphicsList[1].AntennaVolume.Enable true
RfChannelModelerGraphics * SetValue TransceiverGraphicsList[1].AntennaVolume.PositionScaleFactor 40.0
RfChannelModelerGraphics * SetValue TransceiverGraphicsList[1].AntennaVolume.MaximumRadius 7
RfChannelModelerGraphics * SetValue TransceiverGraphicsList[1].AntennaVolume.EnableAutoDisplayRange false
RfChannelModelerGraphics * SetValue TransceiverGraphicsList[1].AntennaVolume.DisplayRange 2
RfChannelModelerGraphics * SetValue TransceiverGraphicsList[1].AntennaVolume.EnableAutoDisplayRange true

Check to ensure that the first Analysis Configuration is set properly for radar imaging (ModelType = Radar SAR or Radar ISAR; EnableImaging = True)

RfChannelModeler_RM * GetValue AnalysisConfigurationList[0].ModelType
RfChannelModeler_RM * GetValue AnalysisConfigurationList[0].ImageDataProductsList[1].EnableImaging

Set the radar image size (in meters) for both range and cross-range directions for the third analysis configuration

RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[2].ImageDataProductsGraphicsList[2].RangeSize 50
RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[2].ImageDataProductsGraphicsList[2].CrossRangeSize 25

Set RF Channel Modeler plugin to generate an imaging grid using TotalSpan range and cross-range (in meters) and LineCount in the range and cross-range directions for the first analysis configuration

RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[0].ImageDataProductsGraphicsList[0].GridModeCompute LineSpacing
RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[0].ImageDataProductsGraphicsList[0].GridRangeSize 50
RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[0].ImageDataProductsGraphicsList[0].GridCrossRangeSize 20
RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[0].ImageDataProductsGraphicsList[0].GridRangeLineCount 7
RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[0].ImageDataProductsGraphicsList[0].GridCrossRangeLineCount 7

Set RF Channel Modeler plugin to automatically compute TotalSpan for the radar image plane grid for both range and cross-range directions for the second analysis configuration

RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[1].ImageDataProductsGraphicsList[1].AutoGridRangeSize true
RfChannelModelerGraphics * SetValue AnalysisConfigurationGraphicsList[1].ImageDataProductsGraphicsList[1].AutoGridCrossRangeSize true

Doing this automatically prevents you from setting GridRangeSize and GridCrossRangeSize for TotalSpan.

Group membership

This command belongs to the following group(s):

Comm

Version

13.0