ATTENTIONThis 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 |
#1
|
|||
|
|||
convert C++ code into flexscript
Hi Everybody,
Have any updated library of "Model Maintenance Wizard v3" ? i need to convert some C++ code into flexscript code in flexsim V6. have any simplest option other than "Maintenance Wizard" for conversion ? I would appreciate any help and hint. Thanks in advance Ameen Shabeer |
#2
|
|||
|
|||
If you just want to toggle all nodes to flexscript then you can run this script - which will also show you the build errors for any nodes with syntax that isn't compatible with flexscript:
Code:
forobjecttreeunder(model()){ if (switch_cppfunc(a,-1)){ switch_flexscript(a,1); switch_cppfunc(a,0); } } buildall(); |
The Following User Says Thank You to Jason Lightfoot For This Useful Post: | ||
ameen shabeer (12-08-2012) |
Tags |
c++, convert, flexscript, wizard |
Thread | Thread Starter | Forum | Replies | Last Post |
Assigning a flexscript code in a node | naren nataraj | Q&A | 1 | 08-31-2012 07:16 AM |
Convert process "ticks" to a dollar value and display | William Clausen | Tips and Tricks | 3 | 11-11-2010 10:45 AM |
executing automaticly writte flexscript code | Congshi Wang | Q&A | 1 | 11-10-2010 05:38 PM |
about flexscript | Kang Han | Q&A | 2 | 10-03-2008 09:21 AM |
Clean Flexscript | Steven Hamoen | Q&A | 1 | 04-04-2008 07:00 AM |