*midsurface_merge_into_one_plate
Merges the given surfaces into a single plate of the specified type.
Syntax
*midsurface_merge_into_one_plate mark_id plate_type use_base_surfaces reserved
Type
HyperMesh Tcl Modify Command
Description
The command changes the plate information for every surface on the input mark by putting them all into a single plate. The plate component, for visualizing the newly created plate and containing copies of the original model’s surfaces, is also created if necessary. If the surfaces on the input mark previously had different plate attributes, their copies in the temporary plate components are deleted.
If the base surface information is set to be taken into account, the command will also do a preliminary check whether the given set of surfaces includes any base surfaces or not. If there is any base surface present and the intended merged plate type is "planar" or "sweep", the command will not do anything.
Inputs
- mark_id
- The ID of the mark containing the input surfaces. Valid values are 1 and 2.
- plate_type
- This parameter specifies the type of merged plate to create. Valid values are:
- use_base_surfaces
- This specifies whether the user-defined base surfaces will be taken into account when displaying the plate information. Valid values are:
- reserved
- Reserved for future use. Must be set to 0.
Example
To merge the surfaces with ID 5-7 to form a single plate of type sweep, without including a check for the input mark to contain base surfaces:
*createmark surfaces 1 5 6 7
*midsurface_merge_into_one_plate 1 3 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
13.0