Model.midsurface_remove_display_plates#
- Model.midsurface_remove_display_plates(delete_plate_info, remove_from_all_comps, reserved1)#
The function deletes components that show the plate information present in the model. The function can also be used to delete all the plate and thickness information present in the model.
- Parameters:
delete_plate_info (int) –
This specifies whether, besides deleting the plate information components, the plate information itself should be deleted. Valid values are:
0 - Delete all components showing plate information, and retain the plate and thickness information present on relevant surfaces.
1 - Delete all components showing plate information, and delete the plate and thickness information present on relevant surfaces.
remove_from_all_comps (int) –
Specifies whether to delete the plate information from the entire model or just from specific components where the plate edit is performed. Valid values are:
0 - Delete display plates from all components for which temporary comps are drawn.
1 - Delete display plates from all components (even inactive).
reserved1 (int) – Reserved for future use. Must be set to 0.
Examples#
Delete the components show plate information , as well as the plate and thickness information#import hm import hm.entities as ent model = hm.Model() model.midsurface_remove_display_plates( delete_plate_info=1, remove_from_all_comps=0, reserved1=0 )
Delete the components show the plate information , as well as the plate information itself , from all components#import hm import hm.entities as ent model = hm.Model() model.midsurface_remove_display_plates( delete_plate_info=1, remove_from_all_comps=1, reserved1=0 )