Model.applydisplayattributes#
- Model.applydisplayattributes(style, colortype)#
Sets the components on the graphics component list (select/apply on the menu) to the specified style and color.
- Parameters:
style (int) –
Determines the type of graphical entities used to display the component. Valid options are:
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. Valid options are:
0 - None.
1 - Component color.
2 - Assigned plots.
3 - Contours.
Example#
Set graphical representation of components to * hidden Line * use the * component color * .#import hm import hm.entities as ent model = hm.Model() model.applydisplayattributes(style=1, colortype=1)