How do I reference the individual conveyor lanes that are being controlled by a merge controller so I can set different release criteria for each lane that changes as the model runs?
How do I reference the individual conveyor lanes that are being controlled by a merge controller so I can set different release criteria for each lane that changes as the model runs?
Looks like that was an oversight.
Instead of accessing the conveyor objects, you could try storing relevant data on the merge controller itself, through something like a label table.
If you absolutely have to have access to the conveyor, you can get it with the command:
ownerobject(tonode(getnodenum(rank(getvarnode(merge, "slugBuildLanes"), laneNum))))
Although I'm always hesitant to suggest digging into tree internals because it can cause compatibility issues if/when we change those tree internals. So, use at your own risk.
Hey Joe,
This forum works a little different than our other user forum in that each "Answer" is meant to be an actual answer to the question, not a reply to a previous post. Post-reply conversations are meant to be done in the comments of each answer. This makes answer finding easier for people who are skimming. So I've converted your answer into a comment.
5 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved