getfaces

Change Hole Color

When run, the following script will change the color of the face of simple holes to blue (color 211), and threaded holes to yellow (color 6). The journal has been tested with NX 7.5.

 

Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF
Imports NXOpen.Features

Module HoleColours

Sub Main()