Restore a missing TAG(s) to the Tagset?

Is there a way to restore a missing (deleted) tag element to an existing set of Tags without replacing the whole Tagset?

 Or, is there a program that would let me select the associated elements of Tagset 1 (old) and 2 (new) and have the Tag values copied to the new Tags?

I've done the same thing in AutoCrud but had to write it myself.

Parents
  • Unknown said:
    Is there a way to restore a missing (deleted) tag element 

    Tag elements obey the rules of other elements.  If you delete a tag element you can undo that delete.

     
    Regards, Jon Summers
    LA Solutions

  • Once you exit the drawing you're hosed.

    Since we no longer have EDG you can't go into the file and restore the Tag without writing something in MDL.

  • Unknown said:
    You can't go into the file and restore the Tag

    Correct: once you exit a DGN file, you've lost the ability to undo edits.

    Unknown said:
    ... without writing something in MDL

    None of the development tools provides a magic fix.  None of MDL, VBA or the MicroStationAPI can restore something that is not there.

    Unknown said:
    Is there a program that would let me select the associated elements of Tagset 1 (old) and 2 (new) and have the Tag values copied to the new Tags?

    It's not exactly clear what you're proposing.  If TagSet 1 contains the same tags as TagSet 2, why do they both exist?  But yes, you could write some VBA or MDL code to repair missing tags on an element.

     
    Regards, Jon Summers
    LA Solutions

  • This is one of the main reasons I am a huge fan of initialising Design History on DGN files.

    It doesn’t matter if one accidentally deletes or modifies something and they exit the file.

    They can restore it at any time :).....

  • if your on a network you could try to restore previous copy  from explorer ... you'll lose all work done since you lost the tags but make a save as new copy name first you might be able to use as reference to copy changes you might lose...

    or ask IT to reinstate an old copy that had the tags from tape backup... but either way you got have a rough idea of when ...

    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 

  • The tags in our drawing are associated with an element (line) and if you delete the (line), then all the tags are deleted with it.  An obvious problem and visible to the drafter.  But if a single tagis deleted, the tagset still exists but is short the one tag.  Since tags are invisible unless filled wiht text, there doesn't seem to be any way to restore the tagset to wholeness once you discover one is missing.

    Since the drawing file must surely contain the complete description of the tagset, and displays them in the Attach/Verify Tags icon menu, and since Microstation has a remove duplicate element feature that must have some comparative element functions, why isn't there a similar feature for tags?

    Some kind of similar MDL or VBA macro would be nice to have that could verify the integrity of the tagset, and make restorations.

Reply
  • The tags in our drawing are associated with an element (line) and if you delete the (line), then all the tags are deleted with it.  An obvious problem and visible to the drafter.  But if a single tagis deleted, the tagset still exists but is short the one tag.  Since tags are invisible unless filled wiht text, there doesn't seem to be any way to restore the tagset to wholeness once you discover one is missing.

    Since the drawing file must surely contain the complete description of the tagset, and displays them in the Attach/Verify Tags icon menu, and since Microstation has a remove duplicate element feature that must have some comparative element functions, why isn't there a similar feature for tags?

    Some kind of similar MDL or VBA macro would be nice to have that could verify the integrity of the tagset, and make restorations.

Children