Nested reference: Key in to switch levels on/offHow can a level in a nested reference be switched on or off using a keyin.
In order to be able to switch on/off levels on a nested reference, the following settings/variables need to be checked first, to allow editing and saving the changes to the levels:Key in:set refleveloverrides on(as that is a file specific setting, make it permanent by usingFile>Save Settings)Variables:MS_LEVEL_EDIT_NESTED_ATTACHMENT_LEVELS = 1MS_LEVEL_LOAD_ATTACHMENT_FILTERS = 1To globally switch on/off levels, no matter a view is open or not (you are actually toggling the Global Display option in Level Manager) key in:General keyin syntax for switching levels in the master file:level set display on/off "level name"General keyin syntax for switching levels in all direct attachments (not nested):level set display on/off file:*.* "level name"General keyin syntax for switching levels in all nested references attached to direct attachments, so 1st nest depth.level set display on/off file:
*.*->*.* "level name"General keyin syntax for switching levels in all nested references, attached to 1st nest depth attachments, so at 2nd nest depth level level set display on/off file:
*.*->*.*->*.* "level name"As you can see, for each extra nest level, ->*.* is added.So in short:Direct attachments use: file:*.*Nested attachments at 1st nest depth level use: file:*.*->*.*Nested attachments at 2nd nest depth level use: file:*.*->*.*->*.*Nested attachments at 3rd nest depth level use: file:*.*->*.*->*.*->*.*etceteraThe *.* of course can be replaced by the intended filename.extension.In case the level name contains spaces, it needs to be enclosed in double quotes.Wildcards ( * ) in the level name can be used too, so a level name like *test* will apply to all the levels that have the word test somewhere in the level name.To switch on/off nested levels per open view, the same idea applies, key in:master file syntax:set levels on/off "level name"direct attachment syntax:reference levels on/off "level name" *.*1st nest depth attachment syntax:reference levels on/off "level name" *.*->*.*2nd nest depth attachment syntax:reference levels on/off "level name" *.*->*.*->*.*After entering these view specific key-ins, you are prompted to select a view.The view selection can be added too, using the key in:
selview <(> <<)>view number>.Example:In case View #1 is the view to be affected, enter:set levels on/off "level name";selview 1reference levels on/off "level name" *.*;selview 1Note:the more wildcards, the slower the response will be, so avoid them ifpossible and specify intended level and file names.