Open Level One, Two and Three
4 posts
• Page 1 of 1
|
The existing scripts allow you to open the top level, or to open all. How should I go about opening Levels One, Two and Three but not Four and Five? Thoughts or suggestions would be greatly appreciated.
|
|
Hi Steve,
The script Build Hierarchy Level 1 calls the script Build Hierarchy Level 2 { Open All } which calls Build Hierarchy Level 3 { Open All } etc. You could create a new script based on Open All and have it set a global variable. You could then have the script "Build Hierarchy Level 3 { Open All }" check that variable before deciding to run "Build Hierarchy Level 4 { Open All }" Let me know if that helps, -Jason |
|
|
Thanks your suggestion does work. However, I found that you have to be careful where you put where you put the script step that determines whether to open the next level. Otherwise the hierarchy will behave in undesirable ways.
Place your script step (eg., If[GlobalVariables::OpentoLevelThree = "Yes" ... immediately prior to the existing script step: If[//Are we opening all regardless... Case ( $$Hy_OpenAll = "Yes" or ...... |
|
That makes sense Steve. Thanks for the follow-up here.
|
|
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest

