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 > Downloads > Models > User Concept
Downloads

Latest Files
Latest Files
Most Popular Files
Most Popular Files
Top Contributors
Top Contributors
Tom David 47
Tyson Nordgren 35
Paul Toone 31
Matt Long 29
Phil BoBo 18
Regan Blackett 16
Cliff King 14
Cameron Pluim 11
Alex Christensen 8
Brandon Peterson 6

Uploaded files must be in one of the following formats: zip rar jpg jpeg jpg2 gif png pdf fsm xls xlsx doc docx ppt pptx

Please no copyrighted material without author's permission!!
  
Navigation
Main | Category Tree | Stats
Downloads [Download Sample_Drawsurrogate_TD]
File Name: Sample_Drawsurrogate_TD (25.9 KB) Download
Author: Tom David)
Date Added: 07-01-2010
Downloads: 2092
Grade: Not Rated
Description
Sample_Drawsurrogate_TD

This model is a small example how to use the drawsurrogate functionality in combination with kinematics functionality in Flexsim.

Two objects are put into the Processor in the added drawsurrogate node. The FlexsimDBox will change the color during the process. The FlexsimDCylinder will move and rotate during the process.
The code can be found on the Processor in the triggers (OnReset, OnMessage, OnEntry, OnProcessFinish and OnCustomDrawCode).

One of the reasons for using drawsurrogate is that an object can have movable subcomponents, but the user interface with it as one object, i.e. when clicked on it is clicked on the main object, no matter where clicked. 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 allowing the user to click on it separately. Once deleted the itemtype attribute, right-click on the subcomponent object and select Build / Rebind Object Attributes to apply it.
In the model items are used in the Processor, but the itemtype attribute was deleted, so the Processor gets selected if clicked on it.

Attention:
Do not delete or rename the object Logo_FlexsimD, because otherwise the model will not work correctly. Also do not rename, delete or rerank other objects.

Path:
\userprojects\SampleModels\

Files:
Sample_Drawsurrogate_TD.fsm
 
Tom David
aka
tom the (A)tom

Flexsim Version: v5.04
Images
Tom David on 07-01-2010
Downloads [Download Sample_Drawsurrogate_TD]


Comments

DownloadsII 5.1.2 by CyberRanger & Jelle
Based on ecDownloads 4.1 © Ronin

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.