Editing a tag in multiply files without having to open each file

I have tags placed in multiply files, I would like to use the Batch process function to edit the text that is displayed. I understand that the comand line in the txt file needs to call up the edit tags comand but how do I tell it which tag to edit.

  • Zulu:
    I have tags placed in multiply files, I would like to use the Batch process function to edit the text that is displayed. I understand that the comand line in the txt file needs to call up the edit tags comand but how do I tell it which tag to edit.

     

    zulu,

    Tell us the whole story, from where do you get the new text-information to edit your tags.

    Do have a "key-attribute" at your tags in the dgn  to identify them?

    Regards

    Frank

    Regards

    Frank

    since 1985: GIS, CAD, Engineering (Civil)  Senior Consultant : [Autodesk Civil 3D , Esri ArcGIS, VertiGIS: in previous days : Bentley MS V4 - V8i, GeoGraphics, Bentley Map V8i, InRoads,  HHK Geograf, IBr DAVID] :  Dev: [C, C++, .NET, Java, SQL, FORTRAN, UML]
    [direct quote by: http://en.wikipedia.org/wiki/Helmut_Schmidt]: "Wer Kritik übel nimmt, hat etwas zu verbergen"
    Wer Grammatik- und/oder Rechtschreibfehler findet, der darf sie behalten :-)

  • What I'm trying to do is change the status of a 300 odd drawings from Tender to Construction. The Tender text is currently placed in the file as a tag, it came in with the drawing title block and was given its first value by using the edit tag tool.

    From where do I get the new text-information to edit your tag? I'd not really planned that far ahead is there options, I hoping I could just say something along the lines of;

    edit the text in the Title_Block tag set with the name of Status to say Construction

    Do have a "key-attribute" at your tags in the dgn to identify them? I dont think so, as I know what they are but they sound good, are they?

     

  • Zulu,

    I think you have to use a macro.

    Attached yuo will find a macro we used when our company name changed.

    The macro scans for a tagset  named "Plankopf" and then changes the value of a tag with the definition

    "Planverfasser-Zusatz". The it inserts the new value.

    If you know the name of the tagset and the tagdefinition, you could change the macro.

    Put this macro to a batchprocess for your files.

    ( use at your own risc- make a backup)

    Hope it helps

    Johannes

    HPPGMBH.mvba
  • There's a program called Title Block Manager that will do this. It allows you to export all tag values to an xls in an intelligent order. In the xls you can change all of the values to what you want. Then you can use Title Block Manager to write the values back to the dgn. Here is a page on it: www.axiomint.com/.../titleblockmanager.htm

  • Thanks meiners, that worked great.

    For the information of anyone else who may wish to know;

    I saved the file HPPGMBH in the location MS_Marco is pointed to, edited it to suite my purpose.

    Then in my Batch Process, Comand file I wrote;

    vba load HPPGMBH

    vba run Modul1.replaceTag

    Added files I wanted to process and was done.

    NOTE, as meiners said, use this at your own risk - test it first.