Colors and objects are not drawn properly on CATIA

PROBLEM DESCRIPTION


When you use Catia on Xmanager, colors and sometimes objects are not drawn properly.


*This article requires remote server configuration. Administrator previlage may be required.



RESOLUTION


Xmanager supports all major EDA tools on the market. However, some old CAD applications require using only 256 colors. Because of this limitation, you may have to configure Xmanager to use the PseudoColor mode in order to display the colors correctly.


To resolve this problem, set Visual to PseudoColor and BackingStore to When Mapped. Here is the instruction:

  1. Run Xconfig.
  2. Open Default Profile.
  3. Click the Color tab.
  4. Select PseudoColor in the Choose Default Visual list.
  5. Click the Advanced tab.
  6. In the Backing Store option, choose When Mapped.
  7. Click OK.


CATIA Shading 

CATIA v4 uses an extension called PHIGS for rendering. This extension is only supported in IBM servers and is not a part of X Window system standard.

Since CATIA v5.0, CATIA decided to go with industry standard OpenGL and it is supported in Xmanager Enterprise by default.


To use shading in Catia v4 through Xmanager, you have to configure CATIA to not use PHIGS. To do this, on the AIX box where CATIA is installed, open CATIA's profile:

/catmodel/catadmin/etc/PROFILE.dat


You will find a section that looks like the following:

*--------------- 
* FOR CATIA 
AFMMNICK TOCONNID=*, 
TOWSTYPE=XSOFT, 
PROCOPT=((STRDEVS,16),(LOCDEVS,2),(VWTBLSZ,64),(ECHOMETH,2), 
(XWINDASP,1,1),(XNAME,CATIA),(MODFYOCT),(LSTES,32)) 
*---------------


In the above section, replace (XWINDASP,1,1) with (XWINDASP,1,0)

Note

The first character on all non-comment lines in the profile file must be blank.