Hi,
I used Delete and Copy Group Members to add Floor Storage. My question is why Find Slot in Process Flow couldn't find slot that Floor Storage was added through copy Group Members? Is there any wrong with my setting? Thank's
Hi,
I used Delete and Copy Group Members to add Floor Storage. My question is why Find Slot in Process Flow couldn't find slot that Floor Storage was added through copy Group Members? Is there any wrong with my setting? Thank's
The copies made by 'createcopy()' are not being linked to the storage system.
There is probably an 'applicationcommand' for this but those are undocumented.
Adding the coupling nodes manually seems to work though. Add the following lines to the On Set trigger of the parameter:
treenode rackSystemNode = newObj.find(">variables/system").subnodes.add(); rackSystemNode.dataType = DATATYPE_COUPLING; treenode systemRackNode = Model.find("/Tools/StorageSystem>variables/storageObjects").subnodes.add(); systemRackNode.dataType = DATATYPE_COUPLING; nodejoin(rackSystemNode, systemRackNode);
I'll post this as a comment so maybe a developer can have a look at this and provide a proper answer. @Matthew Gillespie
The newly created rack objects need firecreateevent() called on them for them to be registered in the Storage System. This can be done with this single line added to the end of the for loop that creates the new copies:
firecreateevent(newObj, newObj.location.x, newObj.location.y, newObj.location.z, 1);
We'll update this pickoption to include this call going forward. Thanks for pointing out this issue and sorry for the inconvenience!
15 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