*boolean_solids
Performs a Boolean operation on selected solid entities.
Syntax
*boolean_solids solids SolidMarkA=<markA_id> ?SolidMarkB=<markB_id>? ?OpCode=<value>? ?Option=<value>? ?BooleanTolerance=<value>?
Type
HyperMesh Tcl Modify Command
Description
This command performs a Boolean operation on selected solid entities.
Inputs
- SolidMarkA=<markA_id>
- The ID of the mark containing solid entities in set A. Valid values are 1 and 2.
- SolidMarkB=<markB_id>
- The ID of the mark containing solid entities in set B. Valid values are 1 and 2.
- OpCode=<value>
- The code of the Boolean operation to be performed.
- Option=<value>
- Specifies how to process internal shared boundaries in resulted solid or solids.
- BooleanTolerance=<value>
- Solids in proximity below this distance will get combined. Currently used for Boolean combine operations among FE-Geometry solids. Any positive value is acceptable.
Examples
To subtract solid ID 20 from solid ID 10:
*createmark solids 1 10
*createmark solids 2 20
*boolean_solids SolidMarkA=1 SolidMarkB=2 OpCode=2
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
2024