focus

Mapdl.focus(wn='', xf='', yf='', zf='', ktrans='', **kwargs)

Specifies the focus point (center of the window).

APDL Command: /FOCUS

Parameters
wn

Window number (or ALL) to which command applies (defaults to 1).

xf, yf, zf

Location of the object to be at the focus point (center of the window) in the global Cartesian coordinate system. If XF = AUTO, allow automatic location calculation. If XF = USER, use focus location of last display (useful when last display had auto focus).

ktrans

Translate key:

0 - Interpret numerical XF, YF, ZF values as described above.

1 - Interpret XF, YF, ZF values as multiples of half-screens to translate from the

current position in the screen coordinate system. Example: XF of 2.4 translates the display approximately 2.4 half-screens to the left in the screen X (horizontal) direction.

2 - Interpret XF, YF, ZF values as multiples of half-screens to translate from the

current position in the global Cartesian coordinate system. Example: XF of 1.5 translates the display approximately 1.5 half-screens in the global Cartesian X direction of the model.

Notes

Specifies the location on (or off) the model which is to be located at the focus point (center of the window). For section and capped displays, the cutting plane is also assumed to pass through this location (unless the working plane is used via /CPLANE). See also /AUTO and /USER commands.

This command is valid in any processor.