Add copied Objects to A* FR Barrier Problem

Add copied Objects to A* FR Barrier Problem

s1125413
Advocate Advocate
166 Views
4 Replies
Message 1 of 5

Add copied Objects to A* FR Barrier Problem

s1125413
Advocate
Advocate

Hello FlexSim Community and dear @moehlmann_fe 

 

I am trying to press a button to produce a layout, and when the AGV encounters the copied layout, it will dodge it to execute the task.

 

I am also attempting to draw a group called "DIP" in A*, and when I produce the layout, it will be added to the "DIP" group. I would like the objects in the copied layout to become FR Barriers; however, this functionality does not seem to work as expected.

 

Is there any method to implement this functionality? Thank you in advance for your help and advice!

s1125413_0-1757914026607.png

 

  

0 Likes
Accepted solutions (2)
167 Views
4 Replies
Replies (4)
Message 2 of 5

moehlmann_fe
Advocate
Advocate
Accepted solution

Add the individual objects to the navigator with the following function:

function_s(navigator, "addMember", object);
Message 3 of 5

s1125413
Advocate
Advocate

@moehlmann_fe Thank you, but where should I put this code, I put it in the for loop, but it didn't work.

s1125413_1-1757923249446.png

 

 

0 Likes
Message 4 of 5

moehlmann_fe
Advocate
Advocate
Accepted solution

The first parameter should be the navigator object, not some attribute node of it. And I don't see that you assign a value to "subnode" anywhere.

0 Likes
Message 5 of 5

s1125413
Advocate
Advocate

@moehlmann_fe Thanks for your advice and suggestions, I managed to get the model running!

0 Likes