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 > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 07-01-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default Sample_Drawsurrogate_TD

Somebody asked me about the drawsurrogate functionality and even if there are already some models hidden in the community I built a very small model for better understanding. The model combines drawsurrogate and kinematics. It is more or less an animation at a processor. The animator creator by the way also uses the drawsurrogate functionality.


Here is the model: Sample_Drawsurrogate_TD.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following 4 Users Say Thank You to Tom David For This Useful Post:
RalfGruber (07-02-2010)
  #2  
Old 07-02-2010
Anthony Johnson's Avatar
Anthony Johnson Anthony Johnson is offline
Manager of Product Development
 
Join Date: Jul 2007
Posts: 440
Downloads: 86
Uploads: 4
Thanks: 171
Thanked 899 Times in 288 Posts
Rep Power: 735
Anthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond repute
Default

Tom,
You may want to take out the itemtype attributes on your drawsurrogate sub-components so that they are not independently clickable (unless you explicitly wanted to do it that way). One of the reasons for using drawsurrogates is so that an object can have movable sub-components, but the user interfaces with it as one object, i.e. when he clicks on it he clicks only on the main object, no matter where he clicks, and not on the sub-components. However, if a drawsurrogate subcomponent has an itemtype attribute, the engine interprets that as a flow item that should be interfaced separately, so it draws it allowing the user to click on it separately. This is done so that implementations like the excavator model can use drawsurrogates for the flow items themselves, but still allow the flow items to be separately clickable.

Once you've deleted the itemtype attribute, you'll want to right-click on the sub-component object and select Build > Rebind Object Attributes to apply it.
The Following 4 Users Say Thank You to Anthony Johnson For This Useful Post:
Tom David (07-02-2010)
  #3  
Old 07-02-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

Anthony,

Thanks for your reply. I hardly get feedback for my models so I really appreciate your help and hints.
I will have a deeper look into it, if I find the time. I am pretty sure, that I will come back to this thread.
I had a look into the excavator model when the thread started and I think it is a great model. And now I learned even more from it. Thanks.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
  #4  
Old 07-05-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

Anthony,



I modified my model and put your comments in the description. I re-upload the model and hope that this model is now even more helpful.



Thanks again for your feedback.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following 3 Users Say Thank You to Tom David For This Useful Post:
Steven Hamoen (07-05-2010)

Tags
animation, drawsurrogate, visualization



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.