GTAGE - Global Tag Edit Program

I'd like to present GTAGE, the Global Tag Edit Program.

This program allows the user to edit tags in cells (or shared cells) across models. Based on the filters you set, the program searches throughout the drawing for cells with tags in them and modifies the text.

The user can enter optional data to filter which tags they would like to edit. These include Models, Cell Name, Tag Definition & Old Tag Value.

Instructions for use:

  1. Download GTAGE dll v*.zip. Alternatively, download GTAGE source.zip (in the next post) which contains the main source files - if you'd like to compile it yourself.
  2. Extract GTAGE.dll file to somewhere Microstation can read MDL Apps. (I commonly use the mdlapps sub-folder in the Microstation folder)
  3. Load the dll file: This can be done with the key-in: mdl load GTAGE. Alternatively, add the line MS_DGNAPPS > GTAGE to your UCF file.
  4. Once loaded, use the Key-In GTAGE.

Let me know bugs or issues, and please comment if you use it.

 

An example of how I've used GTAGE on a border cell with tags: To make this cell I first constructed the border with lines and company logos etc, then created a Tag Set filled with common border tags, such as the Drawing_Title, the Date & the Revision. I've then attached those tags into the drawing without an association. Then I've selected them along with the rest of the border elements and made a cell. This I use in all my drawings and models, thus when the inevitable time comes to change the revision or make any other changes to the text in the borders, I can use the GTAGE tool to quickly do that.

 

Additional Note: This program is designed to be a small handy add-in to Microstation. I also have a program that does the same job across multiple drawings - if you'd like it, just post.

 

ps. I have posted this here because there is a bug with the forum preventing me from updating files in blogs, so I am just linking to this thread from a blog.

GTAGE dll v1.0.zip
Parents
  • It's generous of you to publish an application, even more so to publish its source code.

    steve.k: This program takes allows the user to edit tags in cells

    Please clarify the purpose of your application. MicroStation's default action when a user places a cell that contains tags is to extract the tags from the cell and place them in the active model attached to the cell that has just been placed. In other words, the tags are no longer in the cell, but rather are in the model.

    What is a tag in a cell, how does it get there, and why would one want to edit it?

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

  • The most commonly used is a border cell with tags:

    An example is, if you have a cell border across multiple sheets this program will allow you to edit the (example) "Revision" tag on all sheets.

    It is a program that has proved useful to me, so I thought I'd tidy it up and share it.

  • I love the idea but for us humble users couldn't you just turn it into VBA and  we can load it with the vba manager...

    Here is user feed back for improvement.. allow your program to extract the contents of all the cell border tags to excel so the user can read whats the current state of the tags then change them in excel much quicker than tag by tag  then allow the re importation of the new values into their respective dgns  ... this then can become the drg register as well as the tag set update method... very cool idea no?

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • I can see your ideas being helpful and also a fair bit of work. Unfortunately I'm not using Microstation software in my current situation so I would be unable to test any reworkings if I found time. Hopefully this code is still able to be utilized or modified by others in some way or another to be helpful.

Reply Children
No Data