PR 1889836
The search order for image displayed in the preview is based upon the order of displaying dataset under item revision from server side. Some case, if UGPart object is in front of UGMaster object and they are same relation to itemrevision, it would
display drawing in preview. A suggestion is to configure different default relation for UGPart and UGMaster to Itemrevision, always put UGMaster relation to IR in front of UGPart relation to IR in properties search order, then it always get UGMaster
preview.
<<<snipped from GTAC Solution Center article [002-7002607]>>>
---------------------------------------------------------------------------------
The logic for displaying an image preview on Summary or Relation Browser is as
following:
1. If Item or Item revision is selected, it will first find the related
dataset based on the relation order setting of
DatasetViewer.RELATIONSEARCHORDER in tcviewer.properties:
DatasetViewer.RELATIONSEARCHORDER=IMAN_manifestation,IMAN_Rendering,IMAN_specif
ication,IMAN_Motion,IMAN_3D_snap_shot
2. When a dataset is found, then it will search the named reference based on
the setting ImagePreview.VIEWSEARCHORDER. This is also defined in the
tcviewer.properties:
ImagePreview.VIEWSEARCHORDER=UG-QuickAccess-Binary,Graphics-
Interface,Markup,Image,JPEG,BMP,Shaded-image
3. The first file found from the dataset will be returned and wrapped as the
image on the panel.
Note 1: For tc2008, relational browser reads a different properties file. So
for Summary view, it reads tcviewer.properties, which is located at
"rac_common/com/teamcenter/rac/common/tcviewer". And for relation browser, it
reads tcgrb.properties, which is located at
"rac_tcgrb/com/teamcenter/rac/tcgrb".
Note 2: Summary view will return first dataset found and if no image file is
found in this dataset, it will NOT continue on the rest of datasets. Relation
browser will continue the search until an image file is found.
---------------------------------------------------------------------------------
for TC9.1 -> this become preferences
------------------
“Vision without action is a daydream. Action without vision is a nightmare.”
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP