Hey @Daniel ,
You can use:
- // Refill Mode: 1 Continuous Refill - 2 Complete Refill When empty
- setvarnum(newObj, "refillmode", 1 /*1 or 2*/)
- //Refill Rate
- setvarnum(newObj, "refillrate", value)
Thank you so much. How about output port, How can I set the maximum object and maximum port rate in flexscript? Thank you for your help!
@Daniel ,
- // Output ports - Maximum Object
- setvarnum(newObj, "maxobjectoutrate", value);
- // Output ports - Maximum Port Rate
- setvarnum(newObj, "maxportoutrate", value);
13 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 | © 2025 Autodesk Inc. All rights reserved