View3DSourceFormat

The view 3D source properties.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/LEPO_Reflector_and_Aperture_source.fek]])
resultView = app.Views[1]


    -- SetProperties source rendering properties using 'View3DSourceFormat'
    
resultView.SolutionEntities.SourceFormat.ColouredByMagnitude = true
resultView.SolutionEntities.SourceFormat.ScaledByMagnitude = true

Usage locations (object properties)

The following objects have properties using the View3DSourceFormat object:

Property List

ColouredByMagnitude
Colours the sources according to their magnitude. (Read/Write boolean)
ScaleType
The type of source scaling specified by the SourcesScaleTypeEnum, e.g. Decibel or Linear. (Read/Write SourcesScaleTypeEnum)
ScaledByMagnitude
Scales the sources according to their magnitude. (Read/Write boolean)

Property Details

ColouredByMagnitude
Colours the sources according to their magnitude.
Type
boolean
Access
Read/Write
ScaleType
The type of source scaling specified by the SourcesScaleTypeEnum, e.g. Decibel or Linear.
Type
SourcesScaleTypeEnum
Access
Read/Write
ScaledByMagnitude
Scales the sources according to their magnitude.
Type
boolean
Access
Read/Write