WindscreenSolutionMethod

Windscreen solution method properties.

Example

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

rectangle = project.Geometry:AddRectangle(cf.Point(0,0,0),1,1)
dielectric = project.Media:AddDielectric()
layeredDielectric = project.Media:AddLayeredDielectric({0.1},{dielectric})
windscreenMedium = project.Media: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)

Usage locations (object properties)

The following objects have properties using the WindscreenSolutionMethod object:

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 Medium)
OffsetA
The distance from the windscreen curvature reference to the windscreen solution elements (metallic antenna elements). (Read/Write Expression)

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
Medium
Access
Read/Write
OffsetA
The distance from the windscreen curvature reference to the windscreen solution elements (metallic antenna elements).
Type
Expression
Access
Read/Write