*midsurface_remove_display_plates

Deletes components that show the plate information present in the model.

Syntax

*midsurface_remove_display_plates delete_plate_info remove_from_all_comps reserved1

Type

HyperMesh Tcl Modify Command

Description

The command deletes components that show the plate information present in the model. The command can also be used to delete all the plate and thickness information present in the model.

Inputs

delete_plate_info
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
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. This was the default behavior pre-14.0.
1 - Delete display plates from all components (even inactive).
reserved1
Reserved for future use. Must be set to 0.

Examples

To delete the components showing plate information, as well as the plate and thickness information:

*midsurface_remove_display_plates 1 0 0

To delete the components showing the plate information, as well as the plate information itself, from all components:

*midsurface_remove_display_plates 1 1 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

13.0