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 08-18-2010
luis quinones luis quinones is offline
Flexsim User
 
Join Date: Jan 2010
Posts: 5
Downloads: 14
Uploads: 0
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0
luis quinones is on a distinguished road
Default Colors in Tree

Hi all,
I have a question regarding the tree view, why some data in objects are named in blue and others in black.
Thanks,
Luis Quiñones
  #2  
Old 08-18-2010
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

Those with blue names can be found using the function of the same name and passing the object in as the parameter.
The Following 2 Users Say Thank You to Jason Lightfoot For This Useful Post:
luis quinones (08-18-2010)
  #3  
Old 08-18-2010
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

Nodes in the tree that are blue are called object attributes. You can see a list of those nodes in Help > Attribute Hints. You can access these attributes on an object directly without having to traverse the tree structure:

Code:
treenode processor = node("/Processor1",model());
treenode staytimeavg = stats_staytimeavg(processor);
return getnodenum(staytimeavg);
instead of

Code:
treenode processor = node("/Processor1",model());
treenode staytimeavg = node(">stats/staytime/stats_staytimeavg",processor);
return getnodenum(staytimeavg);
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post:
Pablo Concha (08-19-2010)


Thread Thread Starter Forum Replies Last Post
Sorting a list of nodes in the tree Ben Wilson Tips and Tricks 3 02-27-2013 07:10 AM
The nodes in active view tree don't have unique names. Tom David Gripes and Goodies 7 01-31-2013 07:01 AM
Conect ports in the tree Sebastian Hemmann Q&A 3 01-14-2010 08:41 AM
Accessing Data of a Recorder and Referencing Nodes in the Tree Jan Brandau Q&A 5 04-22-2008 07:05 AM
Access to the tree variables Iulian Marin Ion Q&A 2 02-06-2008 09:15 AM


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.