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
|
|||
|
|||
Looking for directory
Hi,
The problem is following: I created an animation in a escavator with Animation Creator of FlexSim 5, but in simulation, I would like to put item inside of shovel, but I haven't found and I don't know how write the directory of shovel positions in tree, to put this on triggers to set the item position during the process. Attached is clearly. Thanks, |
The Following User Says Thank You to Flavio Brito For This Useful Post: | ||
Tom David (06-24-2010) |
#2
|
||||
|
||||
So there are several ways to do this. You can use vectorproject() I believe, but in my opinion the easiest way is to get Flexsim to draw the item as if it were located inside the shovel, even though the actual location of the item is inside the excavator. If Flexsim draws the item as if it's inside the shovel, then the positioning of the item is trivial; you just position it to the center of the shovel. To do this:
I've attached the model, but not all the media, so you'll need to extract the model into the same directory where your original model is. |
The Following 2 Users Say Thank You to Anthony Johnson For This Useful Post: | ||
Phil BoBo (06-23-2010) |
#3
|
|||
|
|||
I have a question, if the object uses Animation Creator, how to calculate the transport time, accord to the TaskExecuter Tab Page speed 、acc 、dec.I change these parameter,but the Transport time do not change. i think the transport time is useful for Animation Creator.
|
#4
|
||||
|
||||
You can vary the duration/speed of an animation as part of the startanimation() command. There are two parameters you can use for this, speedtype and speedvalue. speedtype can be either SPEED_TYPE_DEFAULT, SPEED_TYPE_DURATION, or SPEED_TYPE_MULTIPLIER. For SPEED_TYPE_DURATION, speedvalue will be interpreted as the total time duration that you want the animation to take. For SPEED_TYPE_MULTIPLIER, speedvalue is a speed multiplier, so a speedvalue of 2 would make the animation go twice as fast as normal. So for transport time, you'd basically start the animation, calculating the transport time yourself and passing that into the startanimation() command.
|
The Following 4 Users Say Thank You to Anthony Johnson For This Useful Post: | ||
Tom David (06-24-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
Can I compile a DLL with having DLLMain in a separate directory | Steven Hamoen | Q&A | 1 | 12-04-2009 05:22 AM |