Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Ctrl
+
K
GitHub
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
GitHub
Section Navigation
Native API reference
ansys.api.pyensight.ensight_api
anim
anim_flipbook
anim_keyframe
anim_quick
anim_recorders
anim_screens
anim_traces
annot_backgr
annot_entlbl
annotation
arrow
auxgeom
boundarylayer
case
clip
collab
command
connect
context_restore
contour
curve
data
data_partbuild
define
devsrf
dial
dpart
elevsurf
ensight
enums
extrude
file
filterpart
format
frame
function
gauge
help
isos
legend
lightsource
line
logo
material
message_window
model
nplot
nvc
objs
part
plot
pointpart
prefs
profile
ptrace
ptrace_emitr
query_ent_var
query_interact
savegeom
scene
sepattach
set_tdata
set_visenv
shape
shell
shock
show_info
solution_time
species
subset
tensor
text
texture
tools
user
varextcfd
variables
vctarrow
view
view_transf
action
align2D
axis
band_zoom_expand_from
box_axis
box_length
box_origin
camera_desc
camera_direction_xyz
camera_focus
camera_focus_distprojpln
camera_focus_forwardxyz
camera_focus_partnode
camera_lens
camera_location_fromfile
camera_origin
camera_origin_offset
camera_origin_partnode
camera_origin_scalefactor
camera_origin_spline
camera_origin_splinevalue
camera_origin_xyz
camera_size
camera_up_xyz
camera_view_angle
camera_visible
cameraselect_byname_begin
cameraselect_byname_end
cameratoview_compute
cameratoview_direction
cameratoview_focaldist
cameratoview_focalpoint
cameratoview_readfile
cameratoview_rotation
center_of_transform
clipping
cone
cone_angle
cone_axis
cone_origin
cursor
cursor_by_partijk
cursor_by_partnameijk
cylinder
cylinder_axis
cylinder_length
cylinder_origin
cylinder_radius
dialog_visible
distance
fit
fit_current_viewport
function
initialize_viewports
limit
line
line_by_nodeids
line_length
look_at
look_from
mode
plane
plane_by_nodeids
plane_equation
plane_normal
plane_origin
plane_size
query_composite_matrix
query_lookat_position
query_lookfrom_position
query_perang
query_proj_matrix
query_rotate_matrix
query_scale_matrix
query_transform_center
query_translate_matrix
query_zclip
redo
redraw_idle
region_tool_close
region_tool_deletepoint
region_tool_point
reset_by_action
reset_rot_trn_scl
reset_tool_constrain
reset_viewer
restore_view
revolution_axis
revolution_number_of_points
revolution_origin
revolution_point
rotate
save_view
scale
select_tool
sensitivity
sphere_axis
sphere_origin
sphere_radius
spin
spline_color
spline_copy
spline_delete
spline_description
spline_id
spline_invert
spline_line_style
spline_load_fromfile
spline_load_frompart
spline_new
spline_offset
spline_point_size
spline_point_visibility
spline_save
spline_select
spline_select_begin
spline_visibility
spline_width
splinepoint_copy
splinepoint_create
splinepoint_delete
splinepoint_edit
splinepoint_offset
splinepoint_paste
splinepoint_select_all
splinepoint_select_begin
translate
undo
view_center
view_center_and_direction
view_center_var_max
view_center_var_min
view_from_triad_axis
view_recall
view_store
viewport_camera
viewport_link
viewport_state_copy
viewport_state_paste
viewports
vr_scale
vr_worldcenter
vr_worlddiagonal
zclip_back
zclip_float
zclip_front
zclip_min
zoom
zoom_style
zoom_to_selectregion
viewport
viewport_axis
viewport_bounds
views
vof
vortexcore
Object API reference
Calculator functions
REST API
LibUserd API reference
EnsContext
LocalLauncher
DockerLauncher
Renderable
Session
Export
Parts
Query
Support
Views
Variables
Omniverse
Readers
DVS
API reference
Native API reference
view_transf
fit_current_viewport
fit_current_viewport
#
view_transf.
fit_current_viewport
(
)
→
int
#
View_transf: fit_current_viewport
On this page
view_transf.fit_current_viewport()
Show Source