View3DAxesFormat

The view 3D axes properties.

Example

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

    -- Configure the axes tick marks using using 'View3DAxesFormat'

view.Axes.TickMarksVisible = true
view.Axes.TickMarkSpacingOption = pf.Enums.AxesTickMarkSpacingEnum.Count
view.Axes.TickMarkCount = 10

Usage locations

The View3DAxesFormat object can be accessed from the following locations:

  • Properties

Property List

Length
The length of the main axes when the SizeOption is set to “SpecifyLength”. (Read/Write number)
MainVisible
Displays the main axes for the 3D view. (Read/Write boolean)
MiniVisible
Displays the mini axes for the 3D view. (Read/Write boolean)
SizeOption
The axis size option for the main axis, specified by the AxesScaleEnum, e.g. ScaleWithWindow, ScaleWithModel or SpecifyLength. (Read/Write AxesScaleEnum)
TickMarkCount
The number of tick marks used when the TickMarkSpacingOption is set to “Count”. (Read/Write number)
TickMarkSpacing
The tick mark spacing used when the TickMarkSpacingOption is set to “Spacing”. (Read/Write number)
TickMarkSpacingOption
The tick mark spacing option for the main axis, specified by the AxesTickMarkSpacingEnum, e.g. Auto, Count, Spacing. (Read/Write AxesTickMarkSpacingEnum)
TickMarksVisible
Displays the main axes tick marks for the 3D view. (Read/Write boolean)

Property Details

Length
The length of the main axes when the SizeOption is set to “SpecifyLength”.
Type
number
Access
Read/Write
MainVisible
Displays the main axes for the 3D view.
Type
boolean
Access
Read/Write
MiniVisible
Displays the mini axes for the 3D view.
Type
boolean
Access
Read/Write
SizeOption
The axis size option for the main axis, specified by the AxesScaleEnum, e.g. ScaleWithWindow, ScaleWithModel or SpecifyLength.
Type
AxesScaleEnum
Access
Read/Write
TickMarkCount
The number of tick marks used when the TickMarkSpacingOption is set to “Count”.
Type
number
Access
Read/Write
TickMarkSpacing
The tick mark spacing used when the TickMarkSpacingOption is set to “Spacing”.
Type
number
Access
Read/Write
TickMarkSpacingOption
The tick mark spacing option for the main axis, specified by the AxesTickMarkSpacingEnum, e.g. Auto, Count, Spacing.
Type
AxesTickMarkSpacingEnum
Access
Read/Write
TickMarksVisible
Displays the main axes tick marks for the 3D view.
Type
boolean
Access
Read/Write