CAE Compare
xSetCAEHotspotsCompareOptions
Sets compare options for hotspots to be generated.
In GUI
bool xSetCAEHotspotsCompareOptions(bool bEnableCompare, bool bHotspotInAllModels, short iCompareMode, short iCompareWith, float fWithInDistance, bool bShowAllConnections)
return
Returns True if successful.
bEnableCompare
Enables model comparison of result values.
bHotspotInAllModels
If True, finds hotspots in all models and compares across all
models.
If False, find Hotspots only in the current model and those Hotspots
are used to compare across all models.
iCompareMode
Sets comparison mode (Comparision Filed in GUI) . Valid range 0 to 7.
0for Position: NearestCompare one hotspot Node with a Node from another model based on position.
Gets the nearest Node from the other model with distance < Radius (‘Within Distance’).
Select this nearest node for comparison.
1for Position: Min/MaxCompare one hotspot Node with a Node from another model based on position.
Gets all Nodes in other models with distance < radius.
From this set of Nodes select one Node for comparison.
For Top hotspot select Node with Max value.
For Bottom hotspot select Node with Min value.
2for IDCompare the hotspot Node with a Node from another model having the same id.
3for ID: DistanceCompare the hotspot Node with a Node from another model having the same id.
And distance < radius
4for Hotspot: Min/MaxCompare the hotspot Node with a hot spot Node from another model.
Get all hotspot nodes in other models with distance < radius.
Here hotspots in the second model are local peaks (without any range limit).
From this set of hotspots select one hot spot for comparison.
For Top hotspot select top hotspot with Max value.
For Bottom hotspot select bottom hot spot with Min value.
5for Hotspot: NearestCompare the hot spot Node with a hot spot Node from another model.
Get all hotspot nodes in other models with distance < radius.
Here hotspots in the second model are local peaks (without any range limit).
From this set of hotspots select nearest hotspot (of the same type) for comparison.
6for Hotspot: Min/Max User rangeCompare the hotspot Node with a hot spot Node from another model.
Get all hotspot nodes in other models with distance < radius.
Here hot-spots in the second model are also filtered based on range (same as first model).
From this set of hotspots select one hot spot for comparison.
For Top hot spot select top hotspot with Max value.
For Bottom hotspot select bottom hot spot with Min value.
7for Hotspot: Nearest User rangeCompare the hot spot Node with a hot spot Node from another model.
Get all hotspot nodes in other models with distance < radius.
Here hot-spots in the second model are also filtered based on the range (same as first model).
From this set of hotspots select nearest hotspot (of the same type) for comparison.
iCompareWith
Sets comparison with Same part name/Currently visible parts/all parts of other models. Valid range 0 to 2.
0 - for Same Part
1 - for Current Visible Parts
2 - for All parts
fWithInDistance
Sets a radius to compare hotspots within a sphere.
bShowAllConnections
If True, Sets additional label lines to compared node/element of
other models.
If False, Sets label line only to the model that generated the
hotspot.
xSetCAEHotSpotsCompareResultsMode
Set mode for Compare Result By field. By default comparison of result across model is done by Same Result Name. Other two modes are, Selected Results Order and given Result’s Display Name.
void xSetCAEHotSpotsCompareResultsMode(int iCompareResultsMode, String sModel=””)
return
None.
iCompareResultsMode
Sets Comparison of Results mode. Valid Range 0-2.
0 – Same Result Name
1 - Selected Results Order
2 - Result’s Display Name
sModel
Model name for this Mode to set. By default it set to current CAE model.
xGetCAEHotSpotsCompareResultsMode
Get currrent mode for Compare Result By field.
int xGetCAEHotSpotsCompareResultsMode(String sModel=””)
return
Returns currently selected mode for result comparison.
0 – Same Result Name
1 - Selected Results Order
2 - Result’s Display Name
xSetCAEHotSpotsCompareDatasets
Selects Model for comparison. By default, all merged models will be compared. This method sets only specific models to compare.
bool xSetCAEHotSpotsCompareDatasets(List<String> selectedDataSets, String sModel=””)
return
Returns True, if successful.
selectedDataSets
Pass required CAE models list to involve compare.
sModel
CAE model name to set this selection list. By default, it will set to current CAE model.
pxGetCAEHotSpotsCompareDatasets
Gets currently selected cae models list for comparison.
List<String> pxGetCAEHotSpotsCompareDatasets(String sModel=””)
return
Returns currently selected models list for CAE hotspot comparision.
sModel
CAE model name to set this selection list. By default, it will set to current CAE model.
pxGetCAEHotspotsCompareOptions
Gets compare options applied for hotspots to be generated.
std::vector<float> pxGetCAEHotspotsCompareOptions()
return
Returns array of size 6.
If successful xSetCAEHotspotsCompareOptions parameters returned in the following order
Index [0] = bEnableCompare.
Index [1] = bHotspotInAllModels;
Index [2] = bShowAllConnections
Index [3] = iCompareMode
Index [4] = iCompareWith
Index [5] = fRadius fWithInDistance