thank you ,i know .
when i do not open rack's properties and not active rack .
i want to try the command: nodefunction(node("@>OnApply",views().find("guiclasses/BottomButtons/OK").find(">OnPress"))),to change rack size ,i find
the command can change the rack tree's sizetabe.value ,but in the mode view ,the rack 's shape is not change.
@jenner J, it isn't so difficult adapt the code!
function_s(node("/?Rack", library()), "BasicRefreshTable",model().find("Rack1") , 4, 6, 2, 3);
repaintall();
copy this to the script console. Maybe you have to exchange the name of the rack in find-method. and adjust the values of number of bays and levels, cell height and width.
You are trying to implement the Apply Basic Settings button as a script. @Clair A describes at "How to automatically create variables for OptQuest ?" the steps to get the code from the view tree of the experimenter window. You can adapt the steps for the properties window SizeTable to get the source code. You find there a parameter described as
node("@>objectfocus+",c)
This is the reference to the rack itself. You have to try yourself if it's necessary to execute the nodefunction update under the Advanced branch of the tree. If it is necessary you have to execute the nodefunction probably in the library tree, because the properties windows isn't open and active.
7 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