Hello,
How to prepare an eventdata node and use it as parameter on calling executefsnode()?
Hello,
How to prepare an eventdata node and use it as parameter on calling executefsnode()?
If you pass a node as the fourth parameter of executefsnode(), that node will be available in the code as eventdata. It is up to you to ensure that the node you pass in is a valid input, depending on what the code expects.
I don't know how to prepare the node for fourth parameter. For example, if I want to pass an item as parameter one of function SendToPort, how do I write the executefsnode()?
It looks like I was wrong. You can't pass an arbitrary node as the fourth parameter. You can only pass numbers or strings.
To use a node, I would toggle the node as FlexScript and use nodefunction() to execute it. Then you can access the parameters with the param() command.
8 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