ATTENTIONThis 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 |
#1
|
|||
|
|||
Command for point to containing treenode
Hi all.
I have been looking through the commands library like a madman in order to find a rather simple FlexScript command. I need to find the command, that points to the treenode containing an object. Just like the rank(current,1) or first(current) point to an object under the current object in the tree. I can't imagine that such a command doesn't exist - I just can't find it. To specify In the attached image, I would like a command that does the following: command(Queue3); [Should return VisualTool7] Does such a command exist? Thanks in advance. /Christian |
#2
|
||||
|
||||
Have a look at "up".
Example: treenode visualtool7 = up(node("/VisualTool7/Queue3", model())); |
The Following User Says Thank You to Carsten Seehafer For This Useful Post: | ||
Christian Norregaard (04-26-2012) |
#3
|
|||
|
|||
Quote:
I knew it had to be there somewhere, but it eluded me. Thanks a lot for Your help. :-) /Christian |
Thread | Thread Starter | Forum | Replies | Last Post |
Exel Import - Digits after decimal point | FlorianK | Q&A | 7 | 09-25-2012 10:06 AM |
Decision point in Basic conveyor | Manoj Kumar | Q&A | 3 | 02-29-2012 10:31 AM |
treenode compilation error | shashanktrivedi | Q&A | 1 | 06-09-2011 09:37 AM |
Decimal Point Number Precision | Michael Hartlieb | Q&A | 1 | 08-05-2009 08:53 AM |