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
|
||||
|
||||
Does the "loaduserlibrary" command has a flaw?
Hi,
I'm using the loaduserlibrary command to give the user a choice of userlibraries that can be loaded. And this command loads them beautyfully. But the loadinstall and the newmodelinstall nodes are not being fired, so gui's, or usercommands that in these userlibraries are not installed automatically. Was that intended or is it a flaw? I get around it by using dropuserlibraryobject specifically, but I think it should have been done automatically! Steven |
#2
|
||||
|
||||
Steven,
Did you make sure that parameter 5 is 1. I think this tells it to install the loadinstall and newmodel components. I use it as follows, and it installs the components fine: Code:
loaduserlibrary(concat(cdir(), "libraries\\FlexsimRPC\\FlexsimRPC.fsl"), NULL, 0, 0, 1); |
The Following User Says Thank You to Anthony Johnson For This Useful Post: | ||
Steven Hamoen (06-04-2008) |
Thread | Thread Starter | Forum | Replies | Last Post |
error message "Clock overflow, running stopped" | Martin Kooijman | Q&A | 11 | 04-17-2008 10:29 AM |
Self-paced video tutorial: "My Very First Flexsim Model" | Brenton King | Marketing and Sales Information | 0 | 04-01-2008 01:29 PM |
about "no select" and "show parameter window from side bar" | qin tian | Gripes and Goodies | 3 | 03-21-2008 08:10 AM |
Which variable stores "Properties -> General ->Flags -> Protected" information? | KelvinHo | Q&A | 1 | 03-06-2008 06:18 AM |
"Getting Started" and "Tutorial" models for v4.01 | Cliff King | Product Announcements | 0 | 12-10-2007 07:34 PM |