OptimisationGoalObjective
The optimisation goal objective.
Example
app = cf.GetApplication() project = app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Dipole_Optimisation.cfx]]) goal = project.Optimisation.Searches["Search1"].Goals["FarFieldGoal1"] -- Set the goal to have an objective target value less than 10 properties = goal:GetProperties() properties.GoalOperator = cf.Enums.OptimisationGoalOperatorEnum.LessThan properties.Objective.TargetValue = "10" goal:SetProperties(properties)
Usage locations (object properties)
The following objects have properties using the OptimisationGoalObjective object:
- SParameterOptimisationGoal(.Objective)
- SAROptimisationGoal(.Objective)
- ReceivingAntennaOptimisationGoal(.Objective)
- TransmissionReflectionOptimisationGoal(.Objective)
- PowerOptimisationGoal(.Objective)
- ImpedanceOptimisationGoal(.Objective)
- NearFieldOptimisationGoal(.Objective)
- FarFieldOptimisationGoal(.Objective)
- OptimisationGoal(.Objective)
Property List
- Mask
- Set the mask. (Read/Write OptimisationMask)
- TargetValue
- Specify the target value. (Read/Write Expression)
- TargetValueType
- Set the target value type. (Read/Write OptimisationTargetValueTypeEnum)
Property Details
- Mask
- Set the mask.
- Type
- OptimisationMask
- Access
- Read/Write
- TargetValue
- Specify the target value.
- Type
- Expression
- Access
- Read/Write
- TargetValueType
- Set the target value type.
- Type
- OptimisationTargetValueTypeEnum
- Access
- Read/Write