r region op1 sol1 op2 sol2 .... opn soln
This command is used to create regions or append to regions. If "region" exists, then solids "sol1" through "soln" are added as members with "op1" through "opn" as the defining operations. If "region" does not exist, then it is created and solids "sol1" through "soln" are added as members with "op1" through "opn" as the defining operations. A region is merely a combination record with a flag set and is distinguished from other combinations (groups) since it has meaning to the COMGEOM solid modeling system. Note that "+" or "u" must be the first operations in a region.
When a region is created, the item and air codes are set equal to default values. If the "regdef" command has been used, then those values will be used, otherwise the values "1000 0 100 1" will be used respectively. To change the item and air codes use the "item" command. The "edcodes" command is probably the easiest and fastest way to change these identifing codes. Note: In the past, all members of a region had to be solids, but recently combinations have been allowed as members of regions. Hence, the names "soli" can also be combinations (groups) now. Also, as in grouping, no checking for members already in a region.
Examples:
r hulltop.r + hulltop.s - hullleft.s - hullright.s
r gun + gun.s - gunin.s
r gunair + gunin.s