View3DFormat

The view 3D format properties.

Example

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

    -- Configure the 3d view using 'View3DFormat'

view.Format.DepthLightingEnabled = true
view.Format.PhiDirection = 270
view.Format.Origin = pf.Point.New(0.02, 0.01, 0)

Usage locations

The View3DFormat object can be accessed from the following locations:

Property List

DepthLightingEnabled
Displays the 3D view using depth lighting. (Read/Write boolean)
GreyScaleEnabled
Displays the 3D view in grey scale. (Read/Write boolean)
Origin
The view focus point origin. (Read/Write Point)
PhiDirection
Phi view direction in degrees. (Read/Write number)
Rotation
The model rotation in degrees. Changing this property will disable the Z lock. (Read/Write number)
ThetaDirection
Theta view direction in degrees. (Read/Write number)
ZLockEnabled
Applies Z lock to 3D view manipulations. (Read/Write boolean)
ZoomDistance
The view zoom distance. (Read/Write number)

Property Details

DepthLightingEnabled
Displays the 3D view using depth lighting.
Type
boolean
Access
Read/Write
GreyScaleEnabled
Displays the 3D view in grey scale.
Type
boolean
Access
Read/Write
Origin
The view focus point origin.
Type
Point
Access
Read/Write
PhiDirection
Phi view direction in degrees.
Type
number
Access
Read/Write
Rotation
The model rotation in degrees. Changing this property will disable the Z lock.
Type
number
Access
Read/Write
ThetaDirection
Theta view direction in degrees.
Type
number
Access
Read/Write
ZLockEnabled
Applies Z lock to 3D view manipulations.
Type
boolean
Access
Read/Write
ZoomDistance
The view zoom distance.
Type
number
Access
Read/Write