Parameters, group of objects, more than 1 output ports

lagilata2
Not applicable
1 View
7 Replies
Message 1 of 8

Parameters, group of objects, more than 1 output ports

lagilata2
Not applicable

[ FlexSim 22.2.0 ]

Hello, on this model below I try to group an operator, processor, and queue in Plane 1 (reference: https://answers.flexsim.com/questions/130858/delete-and-copy-group-members.html)

The Processor itself processes all items and then separate them to 2 Output Ports by Item Types (I use Output > Send to Port > Port by Case):Image.png

I already set the Plane as a Group and used it for parameters, but the problem is if I set the parameter value to 2, the item that went to Processor1_2 got blocked and couldn't send the item to Output Ports. If I see the Output Ports, the processor suddenly adds another blank output port as the first output port. I tried to delete it but every time I re-run it the blank output port just added by itself.

1706528456511.png

Can you tell me what's wrong with the model and help me to fix it? Thank you very much.

experimenter plane.fsm

0 Likes
Accepted solutions (1)
2 Views
7 Replies
Replies (7)
Message 2 of 8

moehlmann_fe
New Member
New Member

Looks like a bug to me. Copying the plane breaks one of the connections to the processor.

You can work around it by deleting the output connections of the copied processor in the parameter's "On Set" code before the new plane is connected to the 'outside objects' again. See line 28 below.

1706531898020.png

0 Likes
Message 3 of 8

lagilata2
Not applicable

Hi, thank you for replying. I tried to delete the Output Ports on the copied Processor and follow your instruction to write the "On Set" code but it didn't change anything. Am I doing it right?1706533404341.png

0 Likes
Message 4 of 8

moehlmann_fe
New Member
New Member
Looks correct. In one test I also had problems getting it to work right away. Try deleting the second plane manually and/or setting the parameter to something other than 2 after you applied the changes to the code.
0 Likes
Message 5 of 8

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

As Felix say's, this does look like a bug - thanks for pointing it out. I'll send it to the developer team.

0 Likes
Message 6 of 8

jeanette_fullmer88DK3
Autodesk
Autodesk

Hi @Rara Hasna, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their 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 comment back to reopen your question.

0 Likes
Message 7 of 8

patrickABAWF
Advocate
Advocate

This bug seems to not be solved because I have the same issue in 25.0.2: when using Delete and Copy Group Members in Parameters to duplicate a plane with objects on it, not all connections are copied. There are missing connections in the duplicates.

0 Likes
Message 8 of 8

jeanette_fullmer88DK3
Autodesk
Autodesk
Hello @Patrick Cloutier,

Thank you for your comment. I am requesting an escalation for this issue.

0 Likes