*organizeRegionsAcrossModules

Organize selected regions to newly created modules per region.

Syntax

*organizeRegionsAcrossModules mark=<mark_id> source_part_name=<name>

Type

HyperMesh Tcl Modify Command

Description

Organize selected regions to newly created modules per region.

On selecting modules with SolidBody or SurfaceBody regions, the regions will be organized across newly created modules. The rule for creating new modules is one module per region in the selected source module. As a result, there will be modules equivalent to the number of SolidBody and SurfaceBody regions. The valid regions are the ones whose usage is CFDPart_CheckEnclosure_SolidSurfaces or CFDPart_CheckEnclosure_OpenShellSurfaces.

Inputs

mark=<mark_id>
The ID of the mark of regions. Valid values are 1 and 2.
source_part_name=<name>
The name of the source part.

Comment.

Examples

To organize all SolidBody and SurfaceBody regions with a valid usage from part1 into new modules:

*createmark regions 1 all
*organizeRegionsAcrossModules mark=1 source_part_name=part1

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

2020.1