powered by CADENAS

Manual

Manual

8.5.2.6.3.2.  Value ranges with images - PARTeditor
[Note] Note

The example is available in the trainings catalog under /assembly/schlitten/tvl_asmtbl_v8.1.prj .

Another example under /parteditor/column_with_graphic.prj.

Select the "Value ranges" window in the PARTeditor for the corresponding variable (in this example "NUT") in the "Value ranges with images"pull-down menu.

Value ranges window

Value ranges window

Launch the Attribute algorithms window in PARTeditor.

In contrast to "type value range", three parameters separated by commas are given for each value.

"Attribute algorithms" window

"Attribute algorithms" window

For example:

1. Parameter

Value

2. Parameter

Description

3. Parameter

Path/Name of the graphic

0 without Nut schlitten_without_nut.bmp

IF ( SG.EQ.1)THEN
NUTX = '0,''without Nut'',''schlitten_without_nut.jpg'''
ELSE
NUTX = '0,''without Nut'',''schlitten_without_nut.jpg'',1,''with Nut'',
''schlitten_with_nut.jpg'''
ENDIF

Make sure the used graphics are available in the project directory in bmp format with the maximum height of 100 x 100 px.

You have the option of showing the graphics instead of the text in the table columns in the PARTdataManager.

Enter the variable name in PARTproject on the General tab, in the Columns block under Columns containing graphics (in this example "NUT").

The user has the option to turn this option on/off with the Show graphics in table button.

PARTproject - Columns containing graphics

PARTproject - Columns containing graphics