Hi,
I tried to write a simple addition logic in DLL Maker. When I define dllcommand3 as a double, the return value is correct,
but if I define dllcommand3 as int, the return value becomes 0.
What is the reason, thank you !
Hi,
I tried to write a simple addition logic in DLL Maker. When I define dllcommand3 as a double, the return value is correct,
but if I define dllcommand3 as int, the return value becomes 0.
What is the reason, thank you !
FlexSim node function bindings expect the function to return either a double or a Variant.
FlexSim stores numbers in double format. Just return a double, as in your original screenshot.
If you want to return a value that isn't a number, such as a string, have your function return a Variant.
10 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