ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 11-13-2007
Cliff King's Avatar
Cliff King Cliff King is offline
Vice President Technical Services
 
Join Date: Jul 2007
Location: Utah
Posts: 272
Downloads: 158
Uploads: 14
Thanks: 102
Thanked 304 Times in 110 Posts
Rep Power: 412
Cliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud of
Default BasicFR Advanced Functions

The current documentation for the Advanced Functions trigger for a BasicFR is limited, so I'm guessing not too many users take advantage of all it can do. By using the Advanced Functions trigger, you can customize what happens when the BasicFR object:
  • is queried for it's classtype
  • a port connection is made to or from it
  • is clicked, double-clicked, or right-clicked
  • is clicked, double-clicked, or right-clicked while a key is held down
This flexibility allows you to create some pretty fancy interface options for the BasicFR. One idea would be to use the BasicFR as a container and define your own connection schemes for when a drag connection is made to/from it.

I've attached a pdf file which has code that can be pasted into the Advanced Functions trigger of a BasicFR. I've shown all four cases that the trigger is designed to fire on. My code doesn't have the cases do anything more than print out information to the Output Console to educate you on the functionality of each case. Hopefully I've documented the code well enough for you to understand what it does. If not, please ask your questions and I will do my best to answer them.
Attached Files
File Type: pdf BasicFR AdvancedFunctions.pdf (18.1 KB, 410 views)
The Following User Says Thank You to Cliff King For This Useful Post:
Ilivid zheng (10-18-2011)



All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.