Getting Started Common Acronyms FAQ Forum Help Forum Tips FTP Site Helpful GuidelinesInserting and Attaching images, videos, or files to postsProduct Community Directory SELECTsupport
I forgot to mention, in MicroStation V8i, use this configuration variable to determine the default update sequence of references and master model for Design Models: MS_REF_MASTERFILELAST_DESIGN
This configuration variable is used at the time of creating a new model to set its default update sequence. If 1, references are drawn first, then the master design model.
Here are two solutions from the archives:
This post has an interesting workflow for new reference attachments: http://discussion.bentley.com/cgi-bin/dnewsweb.exe?cmd=xover&group=bentley.microstation.v8.general&related=32532&utag=
" If the default with no update sequence specified was to draw the master file last, all files that do have references but don't have the update sequence specified (which is probably most in the world at large) would update in a different order. If you want all of the new files you create from a particular seed file to have the master file always drawn last, attach a reference to your seed file (perhaps a self reference with display turned off), and set the update sequence to draw the master file last. Now all references that are subsequently attached will put themselves right before the master file in the update sequence."
And there's a snippet of VBA macro code in this one. Put it on a function key and you can quickly send the active file to the bottom of the list. http://discussion.bentley.com/cgi-bin/dnewsweb.exe?cmd=article&group=bentley.microstation.v8.general&item=46904&utag=
Sub UpdateSeqActiveLast() Dim i As IntegerActi For i = ActiveModelReference.Attachments.Count To 1 Step -1 ActiveModelReference.Attachments(i).UpdateOrder = 0 Next SaveSettings RedrawAllViewsEnd Sub
Macro attached.
Place the mvba in the folder pointed to by MS_VBASEARCHDIRECTORIES.Configure MS_VBAAUTOLOADPROJECTS to automatically load the mvba project upon startup.Key in vba run UpdateSeqActiveLast to run the macro, or....Place the key in on a function key or custom button for quick and easy access.
You can also try the methods described in the following article to have this macro run every time a file is opened. http://communities.bentley.com/communities/other_communities/askinga/w/askinga/run-a-vba-macro-when-opening-or-closing-design-files.aspx
Is there a way to ALWAYS make the active design LAST on the update sequence in the ref dialog box? I mean without opening each dgn and setting it.
Thanks