CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CFX GUI Background Colors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2008, 18:03
Default CFX GUI Background Colors
  #1
UnderwaterAlex
Guest
 
Posts: n/a
I have what perhaps is a stupid question/problem with CFX Post right now. Running CFX-11 SP1 on Red Hat. I have a background color/mouse mapping configuration that I settled on after some trial and error. But there is one animation I make where I change the background color to get a vehicle body looking the way I want, and this configuration is saved in a state (.cst) file. My problem is that whenever I open this state file, the CFXPreferences.ccl file changes the background color permanently, so the next time I open CFX Post, I get that color scheme. What is really maddening is that if I just open a state file that had my original color scheme, the ccl file does not auto update for some reason so I have to go back and manually set the colors again or update the CFXPreferences.ccl file. Sorry, I am a very particular person (maybe most CFDers are) but it is really bothering me right now.

Things I have tried: changing permissions on the .cfx/CFXPrefences.ccl file to read only - which crashes CFX-Post (thank you Ansys). Also trying to figure out how to set CFX defaults so I can at least just click on that button under the options menu and get back my desired scheme.

If anyone knows how to tell CFX to just leave the CFXPreferences.ccl file alone, or if it is possible to change the CFX Defaults button under edit-options-viewer I would love to hear about it. Or if you know something even more clever that would be great too.

Thanks,

-Alex
  Reply With Quote

Old   February 11, 2008, 14:17
Default Re: CFX GUI Background Colors
  #2
CycLone
Guest
 
Posts: n/a
When Post is launched, it reads the CFXPostInit.ccl file in ANSYS_Inc/v110/CFX/etc/. You could add the requisite CCL snippet to the end of this file to reset the viewer to your defaults. The CCL objects and parameters you would need are:
PREFERENCES:
CFX 11 0:
ENGINE:
POST:
Global Edge Colour = 0.000000, 0.000000, 0.000000
Global Text Colour = 0.000000, 0.000000, 0.000000
Viewer Axis Visibility = On
Viewer Background Colour = 0.419608, 0.549020, 0.870588
Viewer Background Colour 2 = 1.000000, 1.000000, 1.000000
Viewer Background Colour Type = Top-Bottom Gradient
Viewer Background Image File =
Viewer Ruler Visibility = On
END # POST:
END # EGINE:
END # CFX 11 0:
END #PREFERENCES

-CycLone
  Reply With Quote

Old   February 12, 2008, 13:09
Default Re: CFX GUI Background Colors
  #3
UnderwaterAlex
Guest
 
Posts: n/a
Thanks Cyclone, that was super helpful. Unfortunately, I work for a large company and don't have superuser privileges to alter this file (boo), and my system administrator is not too keen on the idea of changing these files. Investigating this option did lead to our compromise, which is to add a button to the cfx launcher using the User.ccl file in /v110/CFX/etc/launcher which will automatically copy a CFXPreferences.ccl file that is properly configured to the appropriate location. Not nearly as slick as your suggestion, but should get the job done without too much work on my part. Great tip as usual though!

-Alex
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
heat generation in CFX Ema CFX 4 August 7, 2009 06:39
Electronics Enclosure Analysis with CFX Simulation Engineer CFX 1 April 22, 2009 12:08
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 12:59
FSI using CFX and ANSYS Bi Chang CFX 2 May 10, 2005 05:47


All times are GMT -4. The time now is 05:39.