Model.fillplot#
- Model.fillplot(title, mesh_color, fill_color, full_size, blocks)#
Generates a fill plot.
- Parameters:
title (hwString) – The fill plot title.
mesh_color (int) –
The color of the mesh. Valid values are 1 through 64.
-1 - Uses the elements color.
0 - Uses the background color.
fill_color (int) – The color of the center of the elements. Valid values are 1 through 64, or -1 to use the element colors.
full_size (int) –
Determines whether the fill plot fills the entire screen. Valid values are:
0 - Use normal size.
1 - Use full screen. Click a mouse button to return.
blocks (int) – This option is ignored and should be set to 0.
Example#
Generate a normal size fill plot with the title “This is the title”, a mesh color of black, and a fill color equal to that of each element#import hm import hm.entities as ent model = hm.Model() model.fillplot( title="This is the title", mesh_color=0, fill_color=-1, full_size=0, blocks=0 )