question

Marcello Rosadini avatar image
0 Likes"
Marcello Rosadini asked Marcello Rosadini commented

Photoeyes and decision points Acquire Area error

Hi,

in version 17.1 the predefined code for triggers on Decision Points and Photoeyes for Acquiring areas throws this error:

Could not resolve correct operator for += operation. Left side type is treenode&, right type is int

On this section of the code:

// if it's already acquired, but it's acquired by the same claimer
// then increment the number acquired
numAcquired += 1;

it seems to me that the .value attribute needs to be added to numAcquired

For users facing this error, doing so, corrects it.

FlexSim 17.1.2
bug report
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Marcello Rosadini commented

This has already been fixed in 17.1.2. You should update your software to the latest version.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Marcello Rosadini avatar image Marcello Rosadini commented ·

Thanks. Updated already to 17.1.2!

0 Likes 0 ·