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 07-31-2013
syseo's Avatar
syseo syseo is offline
Flexsim User
 
Join Date: Aug 2007
Location: Korea
Posts: 290
Downloads: 439
Uploads: 0
Thanks: 249
Thanked 63 Times in 41 Posts
Rep Power: 211
syseo has a spectacular aura aboutsyseo has a spectacular aura about
Default How to get the stats_creationtime & stats_lastmovetime?

Dear.

Can anyone help me how to get the value of stats_creationtime and stats_lastmovetime of the moving items?

What is the commands in order to get the values of moving items?

Thanks.
  #2  
Old 07-31-2013
Christian Norregaard Christian Norregaard is offline
Flexsim User
 
Join Date: Oct 2011
Posts: 59
Downloads: 13
Uploads: 0
Thanks: 33
Thanked 14 Times in 9 Posts
Rep Power: 115
Christian Norregaard will become famous soon enough
Default

Hi.

If you find a reference to the item, you can use the following command:
Quote:
return getnodenum(node(">stats_lastmovetime",item));
or
Quote:
return getnodenum(node(">stats_creationtime",item));
, where "item" refers to the item you wish to get stats from.

I hope this helps.
The Following 2 Users Say Thank You to Christian Norregaard For This Useful Post:
Jörg Vogel (07-31-2013)
  #3  
Old 07-31-2013
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

The nodes can also be found using stats_creationtime(<obj>) and stats_lastmovetime(<obj>) - same for other nodes with blue names in the tree.

Last edited by Jason Lightfoot; 07-31-2013 at 10:48 AM.
The Following User Says Thank You to Jason Lightfoot For This Useful Post:
Jörg Vogel (07-31-2013)
  #4  
Old 07-31-2013
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

For those 2 attributes there happens to be commands:

getcreationtime(item)
getentrytime(item) ...to get stats_lastmovetime

For other attributes I would follow Jason's lead... get(uniqueid(item))
The Following 4 Users Say Thank You to Kris Geisberger For This Useful Post:
syseo (08-01-2013)

Tags
stats_creationtime, stats_lastmovetime



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.