MeshRendering

The mesh rendering properties.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]])
sConf = app.Models["startup"].Configurations[1]
view = app.Views[1]

    -- Show metallic edges

view.MeshRendering.Edges.MetallicVisible = true

    -- Show the model bounding box
    
view.MeshRendering.BoundingBoxVisible = true

Usage locations (object properties)

The following objects have properties using the MeshRendering object:

Property List

ApertureOpacity
Aperture mesh opacity as a percentage. (Read/Write number)
BoundingBoxVisible
Display the model bounding box. (Read/Write boolean)
ColourOption
Mesh colouring option applied to the view, specified by the MeshColouringOptionsEnum, e.g. FaceMedia, RegionMedia, etc. (Read/Write MeshColouringOptionsEnum)
ConnectivityVisible
Displays the main mesh connectivity for the 3D view. (Read/Write boolean)
Edges
The mesh edges properties. (Read/Write MeshEdgesFormat)
Faces
The mesh faces properties. (Read/Write MeshFacesFormat)
HighlightingOption
Mesh electro magnetic property highlighting applied to the view, specified by the MeshHighlightingOptionsEnum, e.g. LossyMetal, UTD, VEP, etc. (Read/Write MeshHighlightingOptionsEnum)
Legend
The mesh legend properties. (Read/Write MeshLegendFormat)
ModelOpacity
Mesh model opacity as a percentage. (Read/Write number)
TriangleNormalsVisible
Display triangle normals. (Read/Write boolean)
Vertices
The mesh vertices properties. (Read/Write MeshVerticesFormat)
Volumes
The mesh volumes properties. (Read/Write MeshVolumesFormat)
WindscreenLayersVisible
Displays the individual windscreen layers. (Read/Write boolean)
WindscreenOpacity
Windscreen mesh opacity as a percentage. (Read/Write number)
Wires
The mesh wires properties. (Read/Write MeshWiresFormat)

Property Details

ApertureOpacity
Aperture mesh opacity as a percentage.
Type
number
Access
Read/Write
BoundingBoxVisible
Display the model bounding box.
Type
boolean
Access
Read/Write
ColourOption
Mesh colouring option applied to the view, specified by the MeshColouringOptionsEnum, e.g. FaceMedia, RegionMedia, etc.
Type
MeshColouringOptionsEnum
Access
Read/Write
ConnectivityVisible
Displays the main mesh connectivity for the 3D view.
Type
boolean
Access
Read/Write
Edges
The mesh edges properties.
Type
MeshEdgesFormat
Access
Read/Write
Faces
The mesh faces properties.
Type
MeshFacesFormat
Access
Read/Write
HighlightingOption
Mesh electro magnetic property highlighting applied to the view, specified by the MeshHighlightingOptionsEnum, e.g. LossyMetal, UTD, VEP, etc.
Type
MeshHighlightingOptionsEnum
Access
Read/Write
Legend
The mesh legend properties.
Type
MeshLegendFormat
Access
Read/Write
ModelOpacity
Mesh model opacity as a percentage.
Type
number
Access
Read/Write
TriangleNormalsVisible
Display triangle normals.
Type
boolean
Access
Read/Write
Vertices
The mesh vertices properties.
Type
MeshVerticesFormat
Access
Read/Write
Volumes
The mesh volumes properties.
Type
MeshVolumesFormat
Access
Read/Write
WindscreenLayersVisible
Displays the individual windscreen layers.
Type
boolean
Access
Read/Write
WindscreenOpacity
Windscreen mesh opacity as a percentage.
Type
number
Access
Read/Write
Wires
The mesh wires properties.
Type
MeshWiresFormat
Access
Read/Write