*compactsets

Optimizes set definitions by simplifying nested sets.

Syntax

*compactsets mark_id

Type

HyperMesh Tcl Modify Command

Description

This command simplifies the definition of sets in Radioss by removing unnecessary nesting. It transfers subobjects from child sets directly to their parent sets and deletes the child sets if they are not referenced elsewhere.

Inputs

mark_id
The ID of the mark containing the sets on which to apply the compaction. Valid values are 1 and 2.

Examples

To apply compaction on all sets in a model:
*createmark sets 1 all
*compactsets 1

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

2025.1