WindscreenSolutionMethod

Windscreen solution method properties.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

rectangle = project.Contents.Geometry:AddRectangle(cf.Point(0,0,0),1,1)
dielectric = project.Definitions.Media.Dielectric:AddDielectric()
layeredDielectric = project.Definitions.Media.LayeredDielectric:AddLayeredDielectric({0.1},{dielectric})
windscreenMedium = project.Definitions.Media.Windscreen:AddWindscreen(layeredDielectric,0.1)

face = rectangle.Faces[1]
properties = face:GetProperties()
properties.SolutionMethod = cf.Enums.FaceSolutionMethodEnum.Windscreen
properties.Windscreen.ElementType = cf.Enums.WindscreenElementTypeEnum.Reference
properties.Windscreen.Medium = windscreenMedium
face:SetProperties(properties)

    -- Change the windscreen element type to Solution

properties.Windscreen.ElementType = cf.Enums.WindscreenElementTypeEnum.Solution
properties.Windscreen.OffsetA = 0.1
face:SetProperties(properties)

Inheritance

The WindscreenSolutionMethod object is derived from the CompositeValue object.

Usage locations

The WindscreenSolutionMethod object can be accessed from the following locations:

Property List

ElementType
The windscreen element type. Only applies to face entities. A windscreen reference element is the curvature reference for the windscreen. The windscreen solution elements are the metallic antenna elements. (Read/Write WindscreenElementTypeEnum)
Medium
The windscreen medium. (Read/Write Windscreen)
OffsetA
The distance from the windscreen curvature reference to the windscreen solution elements (metallic antenna elements). (Read/Write ParametricExpression)

Property Details

ElementType
The windscreen element type. Only applies to face entities. A windscreen reference element is the curvature reference for the windscreen. The windscreen solution elements are the metallic antenna elements.
Type
WindscreenElementTypeEnum
Access
Read/Write
Medium
The windscreen medium.
Type
Windscreen
Access
Read/Write
OffsetA
The distance from the windscreen curvature reference to the windscreen solution elements (metallic antenna elements).
Type
ParametricExpression
Access
Read/Write