MeshFacesFormat

The mesh face 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 the face outlines and set the outline colour to Green

view.MeshRendering.Faces.OutlineVisible = true
view.MeshRendering.Faces.OutlineColour = pf.Enums.ColourEnum.Green

    -- Hide the metallic faces

view.MeshRendering.Faces.MetallicVisible = false

Usage locations

The MeshFacesFormat object can be accessed from the following locations:

Property List

ApertureVisible
Enables/disables the visibility of aperture faces. (Read/Write boolean)
CuboidVisible
Enables/disables the visibility of cuboid faces. (Read/Write boolean)
DielectricVisible
Enables/disables the visibility of dielectric faces. (Read/Write boolean)
MetallicVisible
Enables/disables the visibility of metallic faces. (Read/Write boolean)
OutlineColour
The outline colour of the model faces. (Read/Write Colour)
OutlineVisible
Display an outline around model face elements. (Read/Write boolean)
TetrahedraVisible
Enables/disables the visibility of tetrahedra faces. (Read/Write boolean)
UTDCylinderVisible
Enables/disables the visibility of UTD cylinder faces. (Read/Write boolean)
UTDPolygonVisible
Enables/disables the visibility of UTD polygon faces. (Read/Write boolean)
WindscreenVisible
Enables/disables the visibility of windscreen faces. (Read/Write boolean)

Property Details

ApertureVisible
Enables/disables the visibility of aperture faces.
Type
boolean
Access
Read/Write
CuboidVisible
Enables/disables the visibility of cuboid faces.
Type
boolean
Access
Read/Write
DielectricVisible
Enables/disables the visibility of dielectric faces.
Type
boolean
Access
Read/Write
MetallicVisible
Enables/disables the visibility of metallic faces.
Type
boolean
Access
Read/Write
OutlineColour
The outline colour of the model faces.
Type
Colour
Access
Read/Write
OutlineVisible
Display an outline around model face elements.
Type
boolean
Access
Read/Write
TetrahedraVisible
Enables/disables the visibility of tetrahedra faces.
Type
boolean
Access
Read/Write
UTDCylinderVisible
Enables/disables the visibility of UTD cylinder faces.
Type
boolean
Access
Read/Write
UTDPolygonVisible
Enables/disables the visibility of UTD polygon faces.
Type
boolean
Access
Read/Write
WindscreenVisible
Enables/disables the visibility of windscreen faces.
Type
boolean
Access
Read/Write