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
|
|||
|
|||
Elevator
I have enclosed a old sample model of elevator from the 2.6. It seems to have a problem in the fmod function of the elevator. Is there anyone able to repair the elevator?
Thanks David
__________________
Advent2 Labs David |
#2
|
||||
|
||||
You can try this:
double cont=content(current); float curxloc = .6+(.75*fmod(cont-1,4)); The fmod command does somehow not like to process integer variables...(and the command content returns an integer as far as I know)
__________________
kind regards Nico. |