Hello,
I want to find out how to reset group control area maxallocation on simulation start?
I can reset individual contro area. but I want to reset all as group, hope I can get some advice, thanks!
Hello,
I want to find out how to reset group control area maxallocation on simulation start?
I can reset individual contro area. but I want to reset all as group, hope I can get some advice, thanks!
treenode networkCAlinks = Model.find("AGVNetwork>variables/controlAreas");
forobjecttreeunder(networkCAlinks) { treenode link = a; ownerobject(link.value).as(Object).setProperty("MaxAllocations", 99); }
Rather than manipulate the number of allowed allocations, you could also try to leave it at one and instead 'manually' allow further allocations.
If you overwrite the return value of the "On Request" event with a 1 (or, to be on the safe side the expression AGV.Request.Allow), the allocation will be allowed regardless of the limit set on the area/point. To block the request use AGV.Request.Block or -1 instead.
14 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