ScopeSettings

Limits the field calculation to only use the sources on the specified elements.

Example

app = cf.GetApplication()
project = app:NewProject()

farFieldRequest = project.SolutionConfigurations[1].FarFields:Add(0,0,90,180,30,60)

    -- Get the 'ScopeSettings' of the farFiledRequest

scopeSettings = farFieldRequest.ScopeSettings

    --  Get the CalculationScope of the farField, should be All

calculationScope = scopeSettings.CalculationScope

Usage locations (object properties)

The following objects have properties using the ScopeSettings object:

Property List

CalculationScope
Control which type of elements should be considered for the field calculation. (Read/Write FieldCalculationScopeTypeEnum)
ScopedGeometryEntities
The field calculation will only use sources on the specified geometry entities. (Read/Write List of GeometryEntity)
ScopedMeshEntities
The field calculation will only use sources on the specified mesh entities. (Read/Write List of MeshEntity)

Property Details

CalculationScope
Control which type of elements should be considered for the field calculation.
Type
FieldCalculationScopeTypeEnum
Access
Read/Write
ScopedGeometryEntities
The field calculation will only use sources on the specified geometry entities.
Access
Read/Write
ScopedMeshEntities
The field calculation will only use sources on the specified mesh entities.
Access
Read/Write