Color Codes in the Process Plan Browser
Use the Color code parts in 3d according to the first-level operation where they are consumed action available in the Viewing section of the process plan browser to apply color codes to entities under operations in the Visualization tab.
The color codes are defined by the site administrator.
As an administrator, you can set color codes using the com.ptc.windchill.mpml.ppbOperationPartColorCodesproperty. This property is present in the mpmlink.properties.xconf file located at Windchill/codebase/com/ptc/windchill/mpml/xconfs.
By default, no values are added to this property.
The color is defined in the form0xXXXXXX, where the value is the web color value.
For example, you can define the color codes in the property in the following way:
<Property name="com.ptc.windchill.mpml.ppbOperationPartColorCodes" multivalued="," default="0x0000EE ,0xFF0000,0x3D9140,0x8B0A50,0xFFD700,0x8B4513, 0x8B9FC0, 0x8E8E38, 0xFF00FF,0x25383C, 0x8B864E, 0x008080, 0xFF7BAC, 0xFF8C00, 0xCDC1C5,0xED9121, 0xFF3030, 0x35D2AB, 0x9400D3, 0x00CED1, 0x8E388E, 0xFFE4C4, 0xCAFF70, 0x9400D3"/>. In this case, the system displays the color Blue for the entities under the first operation because 0x0000EE is the first value added in the property. The system displays the color Red for the entities under the second operation because 0xFF0000 is the second value added in the property. The system displays the color Green for the entities under the third operation because 0x3D9140 is the third value added in the property.
When you click Color code parts in 3d according to the first-level operation where they are consumed, the color coding is visible in the Visualization tab of the process plan browser.
Key Points
The color codes are applied only for the current session. If the structure is reloaded, the parts are displayed in the default color.
If you allocate multiple parts under the same operation and click , then all parts that come under the same operation appear in the same color in the in the Visualization tab.
If part occurrences are allocated to different operations, then the color of occurrences is displayed according to the position of operations in the process plan tree structure.
The Color code parts in 3d according to the first-level operation where they are consumed action also works in occurrence mode.
Was this helpful?