question

Yue Y avatar image
0 Likes"
Yue Y asked Phil BoBo edited

Is it possible to show a picture in BasicFR?

Is it possible to fetch a picture from an external service and display it in the place of BasicFR?

FlexSim 19.1.0
visualization
· 3
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 Phil BoBo edited

Yes.

Use loadimage() and setobjecttextureindex():

  1. treenode basicFR = Model.find("BasicFR1");
  2. int textureIndex = loadimage("D:\\Pictures\\2.png", "2.png");
  3. setobjecttextureindex(basicFR, textureIndex);
5 |100000

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