A number of files must be created in specified directories.
Customization of the information items requires:
- A CATRsc file named
PPR_Live_Process_CompassCusto.CATRsc
must be created and located in ..\resources\plmcompass
and must contain all the customization details as shown in the following sections - CATRule files (scripts) created in
..\resources\knowledge\scripts
. These CATRule file names must be declared in the previously created file PPR_Live_Process_CompassCusto.CATRsc
.
PPR_Live_Process_CompassCusto.CATRsc
The name PPR_Live_Process_CompassCusto is mandatory and cannot change. This file must be created in ..\resources\plmcompass
. Example:
Quadrant.East.NumberOfCustomizations = "1";
Quadrant.East.Cust1.NameOfCustomization = "Process Type";
Quadrant.East.Cust1.Color.Rule.DELFmiProcessReferenceSample = "ProcessType_Shade";
Quadrant.East.Cust1.Label.Rule.DELFmiProcessReferenceSample = “ProcessType_Label";
Quadrant.East.Cust1.NumberOfColors = "3";
Quadrant.East.Cust1.Col1.Legend = "Assemble Process";
Quadrant.East.Cust1.Col1.Red = "255";
Quadrant.East.Cust1.Col1.Green = "0";
Quadrant.East.Cust1.Col1.Blue = "0";
Quadrant.East.Cust1.Col1.Transparency = "0";
Quadrant.East.Cust1.Col2.Legend = "Provided Part Process";
Quadrant.East.Cust1.Col2.Red = "0";
Quadrant.East.Cust1.Col2.Green = "255";
Quadrant.East.Cust1.Col2.Blue = "0";
Quadrant.East.Cust1.Col2.Transparency = "0";
Quadrant.East.Cust1.Col3.Legend = "Fasten Process";
Quadrant.East.Cust1.Col3.Red = "0";
Quadrant.East.Cust1.Col3.Green = "0";
Quadrant.East.Cust1.Col3.Blue = "255";
Quadrant.East.Cust1.Col3.Transparency = "0";
ProcessType_Label.CATRule
This file must be created in ..\resources\knowledge\scripts
. Example:
let Value1(String)
let Property1(String)
let LabelDescription(String)
Value1 = ThisObject.PLM_External
IDProperty1 = "Property1|"+"Product Name : "+Value1+"|I_Purple"
LabelDescription=Property1
Parameters->SetAttributeString("MyLabelForPLMCompass",LabelDescription)
ProcessType_Shade.CATRule
This file must be created in ..\resources\knowledge\scripts
. Example:
if (ThisObject.V_discipline=="CreateAssembly")
Parameters->SetAttributeString("MyColorForPLMCompass","255|0|0|0")
else if (ThisObject.V_discipline=="Provide")
Parameters->SetAttributeString("MyColorForPLMCompass","0|255|0|0"
else if (ThisObject.V_discipline=="Fasten")
Parameters->SetAttributeString("MyColorForPLMCompass","0|0|255|0")