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 > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 01-13-2016
David Besson David Besson is offline
Flexsim User
 
Join Date: Feb 2011
Posts: 7
Downloads: 1
Uploads: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
David Besson is on a distinguished road
Post Add objects dynamically to a chart

Hello,

Is it possible to add an object dynamically to a chart in a dashboard, like the function "memberadd" for Time Table and MTBFMTTR Table?

Thanks for you help!
  #2  
Old 01-14-2016
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

function_s(chart, "addMember", theMember);

Depending on what chart it is, you might not be able to add a member in the middle of a model run.
The Following 5 Users Say Thank You to Anthony Johnson For This Useful Post:
Sung Kim (01-15-2016)
  #3  
Old 01-15-2016
David Besson David Besson is offline
Flexsim User
 
Join Date: Feb 2011
Posts: 7
Downloads: 1
Uploads: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
David Besson is on a distinguished road
Default

Thanks for your reply.

But having failed to implement this function, would it be possible to have an example model?
  #4  
Old 01-15-2016
arunkrmahadeva's Avatar
arunkrmahadeva arunkrmahadeva is offline
CCS, India
 
Join Date: Sep 2013
Location: India
Posts: 71
Downloads: 67
Uploads: 0
Thanks: 285
Thanked 101 Times in 51 Posts
Rep Power: 145
arunkrmahadeva is a jewel in the rougharunkrmahadeva is a jewel in the rougharunkrmahadeva is a jewel in the rougharunkrmahadeva is a jewel in the rough
Default

Hi David,

Here is a sample model. Press Reset button after running the commands in the script console.

Regards,

Arun KR
Attached Files
File Type: fsm Dashboard_AKR.fsm (16.4 KB, 374 views)
The Following 3 Users Say Thank You to arunkrmahadeva For This Useful Post:
Jörg Vogel (01-18-2016)
  #5  
Old 01-18-2016
David Besson David Besson is offline
Flexsim User
 
Join Date: Feb 2011
Posts: 7
Downloads: 1
Uploads: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
David Besson is on a distinguished road
Default

Perfect!

Thank you.

Tags
chart object


Thread Thread Starter Forum Replies Last Post
Can the new AGV library objects not be drop in visual container objects? syseo Q&A 3 09-17-2014 08:15 AM
how to create patients dynamically Pablo Concha FlexSim HC: Q&A 3 04-11-2013 05:25 PM
question about Flexism Chart Chengjun Zheng Q&A 1 04-12-2012 05:40 PM
Pie Chart Trouble Gutirallo Tips and Tricks 0 03-08-2012 12:19 PM
Creating a stacked bar chart for the states of multiple objects Kris Geisberger Tips and Tricks 6 08-11-2011 09:40 PM


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.