Model.resize#

Model.resize(on)#

Sets the resize flag in HyperMesh.

Parameters:

on (int) – Set to 0 if the full-size plots should not be resized to the size of the window; otherwise, set to 1.

Example#

Set the resize flag to make the full-size plots in HyperMesh not being resized to the size of the window#
import hm
import hm.entities as ent

model = hm.Model()

model.resize(on=0)