Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Background Color To White

Background Color To White

Background Color To White

Want to change the background of new parts to plain (not graduated) and to be white. I assume the ug_english.def file. What lines need to be changed?


Guy Edkins

RE: Background Color To White

Which version?

RE: Background Color To White

NX 2

Guy Edkins

RE: Background Color To White

I don't have the NX2 ug_english .def file to reference, but in NX1 the lines are "UG_default_shaded_background_type:" and "UG_default_wire_background_type:"

RE: Background Color To White

I assume then the argument is plain vs. graduated. I have done this and it had no effect on UG. The file I edited is in the UG directory. Do I need to copy it elsewhere to get NX "see" it. Will this alone make the background white?

Guy Edkins

RE: Background Color To White

You don't need to copy the edited file.  Have you rebooted since the change?
No, this alone won't make the background white, just plain.  I don't know of a setting in the ug_english.def file to set up the plain background color.  But there is a way around it; set the background default to graduated, then change all of the default colors in the lines for the graduated background colors (just below the default background type lines) to the number that corresponds with white.
I wish I could be of more help, but without NX2 loaded, I can only going by memory and my copy of the NX1 ug_english.def file.  Someone else here may be able to point us to where the plain background default color setting is.
Remember to save a copy of your original ug_english.def file so that you can easily restore it.

RE: Background Color To White

First off, this setting is session dependant, meaning it will NOT take effect until you re-start UG.

Now, you need to know FOR SURE which customer defaults file you're using.  If you're working in English units, then it's ug_english.def.  If you're working in metric units, then it's ug_metric.def.  If you're working in a custom environment, such as the GM PDL Toolkit, then you need to find the .def file that the custom environment is using.

When you have found the correct customer defaults file, search for:




Each individual line is an RGB value (red, green, blue).  Set all of your values that are not commented out to 255 & that will result in your background always being white, regardless of whether in shaded or wireframe display mode.  Don't worry about the background being set to graduated, as there is NOT a setting (that I am aware of) for controlling the background if you set it to plain.

Hope this helps.

Tim Flater
Senior Designer
Enkei America, Inc.

RE: Background Color To White

Thanks Tim,
You explained what I was trying to say much better than I did.

RE: Background Color To White

No problem, Eric.  I wasn't sure about setting a plain background to a specific color when I first read this.

Tim Flater
Senior Designer
Enkei America, Inc.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close