Mstn V8i SS4 Win 7
I am trying to get fields in a title block to update automatically across all sheet models in a dgn.
https://communities.bentley.com/products/microstation/w/microstation__wiki/14888/update-text-fields-automatically states:
In MicroStation V8i, when the option Update Fields Automatically is turned on in the Model Properties dialog box, by default Model and File related fields update automatically when the model is opened.In addition, the configuration variable MS_AUTO_UPDATE_FIELDS controls this behavior; specifically the variable controls the rules for updating fields in the active model. If set to ALWAYS, the fields always update. If set to NEVER, the fields never update. If not set or if set to FOLLOWMODELFLAG, the model's "Update Fields" flag is followed.
I have the sheet model properties set to update fields automatically. I have MS_AUTO_UPDATE_FIELDS set to ALWAYS. The key phrase in the above description seems to be "... update automatically when the model is open."
My question: Is there a way to get the fields to update without having to open the model? I use Print Organizer. When I update a field value, then use PO to plot, the fields aren't updated. Furthermore, not even the field in the model I have open will update automatically unless I force it to update (re-open the model or edit the text).
The fields are not in cells, they are all inserted into text nodes.
Any ideas on how I can get this to work? If every model has to be opened someone is going to forget to do that and our plots will contain errors. I tried to attach a dgn with four sheet models in it and fields in the title block but I keep getting an ERROR when I use the Insert video/image/file tool above.
Thanks
Key in: field update all doesn't help - it only updates the active (open) model.
The only way I've found to handle that is to set up a batch process to run on all of my sheet files & models, using that field update all command.
I didn't find a way to link that batch process to my PSET so that it would automatically run before printing. To be honest, I didn't send a lot of time on it (bigger fish to fry).
In V8i, you may still be able to take advantage of MicroStation BASIC to run that command. Pen tables have, as one of the Element Output Actions, the ability to run a BASIC macro on that element. Print Organizer does use Pen tables. It's old technology, and not supported (or even available in the newer versions) but it MIGHT give you a way to update your fields on plotting. I'd take that question over to the Printing & Plotting forum. It's been about 20 years since I played around in MicroStation BASIC.
Matter of fact, this may be worth taking over to the Printing forum anyways. People there may have solutions I've never heard of.
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Thanks (again) for your reply.
I could probably create some stone age basic code to do what you suggest as a possible solution. But, I am unfamiliar with how mstn accesses the code when PO is run. I have to have it happen automatically for all users without them having to think at all or it won't happen.
I will look into it further, thank you.
Happy Friday :)
Perhaps this article and the one mentioned in it could help: https://communities.bentley.com/products/microstation/microstation_printing/f/printing-and-plotting-forum/72062/po-update-fields/191340#191340