Model.setdisplayattributes#
- Model.setdisplayattributes(style, colortype)#
Sets all components in the model to the specified style and coloring method.
- Parameters:
style (int) –
Set to:
0 wire frame
1 hidden line
2 hidden line with mesh
3 hidden line with features
4 hidden line transparent
colortype (int) –
Determines how the components are colored. The options are:
0 none
1 component color
2 assigned plots
3 contours
Example#
Set all the components to the wire frame display mode#import hm import hm.entities as ent model = hm.Model() model.setdisplayattributes(style=0, colortype=0)