Randomize Region Colors

Engineering Tools — Randomize Region Colors

Give every connection region in a FEMAP model its own bright, distinct color in one click, so glue and contact regions are easy to tell apart.

What it does

Sets each connection region’s own color — not the color of the elements, surfaces or properties inside it — for every region in the model or a subset you pick. FEMAP has no bulk command for this, so on a model with dozens of regions you would otherwise edit them one at a time.

When you want it

  • Glue / contact set-up review. Lots of regions, often all the same color. One run and each region stands out from its neighbours.
  • Checking what each region grabbed. A region that picked up the wrong face or patch of elements is obvious once every region has its own color.
  • Review slides and reports. A clean picture of the connection layout without hand-picking colors.

How to use it

  1. Open Custom Tools > View > Colors > Randomize Region Colors.
  2. Leave Prompt for region selection unchecked to recolor every connection region, or check it to pick regions.
  3. Click OK. The active view regenerates and the message window lists each region with its new color.
  4. Don’t like the result? Run it again — the colors are reshuffled every run.

Notes

  • Colors come from a set of 32 bright colors; black, white, grays and FEMAP’s default glue color are left out, so every region reads clearly and none looks untouched. Beyond 32 regions the colors repeat.
  • Only the region color changes; region contents, connectors and connection properties are not touched.
  • The previous colors are not saved. Save the model first if the current scheme matters to you.
  • Only the active view is regenerated; other views pick up the colors when you regenerate them.

Related tools

  • Regions to Groups — one group per connection region, to isolate a region or feed it to group-based tools.
  • Set Layer Colors — the same idea for layers.
  • Color Elements by Value — when the color should mean something (thickness, area, material, E, CBUSH K or group).
  • Property Renamer — titles each connector <master region> - <slave region> - <property>, which pairs well with colored regions.