question

Edmilson Ml avatar image
0 Likes"
Edmilson Ml asked Eric M commented

HOW TO CHANGE THE VISUALS OF THE AGV ACCORDING TO AN EXCEL WORKSHEET?

Good Afternoon! I Have A Challenge I Cannot Solve.

An Excel Worksheet Determines The Number Of Agvs And Types That Will Be Used. Each Type Has A Different 3d Visual.

Is There Any Way To Make This Change?

FlexSim 21.1.1
agvflexsim 21.1.1
· 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.

Eric M avatar image Eric M commented ·

Hi @Edmilson Ml, was my answer helpful? If so, please click the red "Accept" button at the bottom of the answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Eric M avatar image
0 Likes"
Eric M answered

Hi @Edmilson Ml, under View>Media Files you can find a list of shapes in Flexsim. You can add a custom visual or choose one from the default list. You'll notice there's a number for each shape called the shape index. We'll use the shape index in a global variable called "Shape" (you can see it in the toolbox), to make an array. In the array, we put the shape index in order of Type (so type 1 index goes first, then 2, etc.). Lastly, in process flow I used a custom code activity to change the shape of the AGV using its Type to indicate which index of the Shape variable to use. There will need to be some extra adjustments of size / location, but at least this will get you started.

Change AGV Shape.fsm


change-agv-shape.fsm (146.1 KiB)
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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