Yes - just set the guifocusclass of the item in the flowitembin to point to the location of your customGUI. Then when you try to interact with the item by double clicking, your custom GUI should open with the viewfocus and objectfocus being set to the item - which you can then refence on any views/links.
Example attached.
Thank you for support. In this model, i have to double click the flowitem to open the GUI you've designed, and must click the close button on the GUI to close it. I am wondering how to open the gui by leftmouth button down, and close it by clicking anyplace in the model?
You can add this behaviour to the flowitem's tree:
(really you only need the OnClick node somewhere in its attributes tree).
Then in the GUI you should be able to detect OnKillFocus.
I modified the model, but can not find the OnKillFocus attribute.
14 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