Copy & Increment tool for DWG files

G'day Bentley Guys,

 

Any timetable as to when the Copy and Increment Text tool is going to be fixed for DWG files in the latest versions of Microstation? It is really annoying having to crank up the XM edition to use this feature...

 

Regards,

 

Lincoln

Parents Reply Children
  • Well here's version 1. Once loaded Key-In is TNCI.

    Let me know if you find any bugs and please comment if you use it.

    Tested ok on V8i on both text and text nodes.

    steve

    Edit: Code updated to V2 to fix continuous increment problem.

    TextNode Copy-Inc v2.zip
  • Steve,

     

    Pardon my ignorance but apart from copying your DLL file to C:\Program Files\Bentley\Program\MicroStation\mdlsys\required what else do I need to do?

     

    Regards,

     

    Lincoln

  • Sorry Lincoln, that's my mistake, I forgot to mention: The Key-In is TNCI.

    So once you've extracted the dll to a usable path (I put all my dll's in the MicroStation\mdlapps folder) then go to file menu Utilities -> MDL Application, and browse for the file. Alternatively the key-in mdl load "TextNode Copy-Inc" might work.

    In the status bar it should say it's loaded so then you're right to type in the Key-In.

    Let me know,


    Edit - New users to MDL loading sometimes get an error "not an authorized digital signature" - this is because the program is custom. If you get that message in the status bar, then in the file menu Workspace->Configuration-> Security Category, you might see your Security level is set to HIGH. Lower it there to allow any MDL or other applications to be loaded. This solution doesn't always work but it's one thing to try.

     


  • Steve,

     

    I got it to load. I then dropped the numbers I wanted to increment then used the Copy and Increment tool, but it didn't work. Am I missing a step?

     

    Regards,

     

    Lincoln

  • Lincoln,

    Great, you got it to load.

    Ok, so when you typed in the Key-In TNCI did you see the increment window asking you to "Enter a number to Increment"? You have to "accept" that window first (this is different to the standard copy/inc command), then simply select a text or text-node element with a number in it and it should increment the next copy. Does it do anything like that?

    You shouldn't need to drop the numbers unless they are in a cell, the program should find the last numbers within any string

    Thanks for persisting with it,

    steve

     

    Edit: I've just updated the dll in the previous thread to fix a problem preventing the user from continuing to increment. Lincoln, I don't think this problem is where you were at anyway but it is worth updating.